Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 198.1 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.27 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.233, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002578/0.2356, allocations: 1.568 MB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2368, allocations: 0.7401 MB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.2369, allocations: 0 / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.2369, allocations: 3.938 kB / 1.054 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.237, allocations: 7.922 kB / 1.054 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.2374, allocations: 99.77 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.2375, allocations: 71.83 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.2376, allocations: 16 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.2377, allocations: 35.78 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.2378, allocations: 35.89 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.2378, allocations: 4 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.238, allocations: 87.91 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.238, allocations: 19.91 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.2381, allocations: 31.8 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2383, allocations: 139.9 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2383, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2383, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2383, allocations: 4 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005694/0.2389, allocations: 417 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2389, allocations: 11.97 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.239, allocations: 30.75 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.239, allocations: 8.844 kB / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2391, allocations: 180.2 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2391, allocations: 8.375 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2392, allocations: 4.375 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2393, allocations: 73.72 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2393, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2394, allocations: 8 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2394, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2395, allocations: 35.97 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.2401, allocations: 316.7 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2402, allocations: 54.5 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.2403, allocations: 32.95 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2403, allocations: 7.984 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.2405, allocations: 71.38 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2405, allocations: 4 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003717/0.2409, allocations: 141.6 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2409, allocations: 55.34 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.241, allocations: 121.8 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.241, allocations: 29.7 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.2411, allocations: 92.05 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.2411, allocations: 15.84 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.2412, allocations: 29.7 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2413, allocations: 322.8 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.2414, allocations: 27.98 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.2415, allocations: 51.41 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2416, allocations: 83.36 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2416, allocations: 3.938 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002348/0.2419, allocations: 117.5 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2419, allocations: 8 kB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2419, allocations: 0 / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.2419, allocations: 0 / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.242, allocations: 19.98 kB / 1.057 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.242, allocations: 4 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.2421, allocations: 7.906 kB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2421, allocations: 8 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/0.2422, allocations: 117.8 kB / 1.057 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.2422, allocations: 11.89 kB / 1.057 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.2423, allocations: 8.375 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2423, allocations: 0 / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2423, allocations: 8 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2423, allocations: 0 / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.2427, allocations: 382.3 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2427, allocations: 0 / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.2428, allocations: 4 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2428, allocations: 0 / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2428, allocations: 3.984 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2428, allocations: 3.938 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2428, allocations: 0 / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2431, allocations: 215.4 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2431, allocations: 81.09 kB / 1.058 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2431, allocations: 4 kB / 1.058 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.2432, allocations: 7.875 kB / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.2433, allocations: 11.98 kB / 1.058 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2433, allocations: 4 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.2434, allocations: 99.86 kB / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2434, allocations: 0 / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002837/0.2436, allocations: 39.91 kB / 1.058 GB, free: 1.598 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006848/0.2443, allocations: 0.8092 MB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.2446, allocations: 71.89 kB / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2446, allocations: 0 / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.2447, allocations: 35.98 kB / 1.059 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2449, allocations: 3.938 kB / 1.059 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2464, allocations: 1.508 MB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2466, allocations: 0.6982 MB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.2467, allocations: 4 kB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2467, allocations: 15.42 kB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2467, allocations: 0 / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.2584, allocations: 2.439 MB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.2586, allocations: 266.4 kB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.864, allocations: 0 / 1.064 GB, free: 11.68 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed