Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.0009266/0.0009266, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005393/0.005393, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003157, allocations: 8.938 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001471/0.2434, allocations: 1.221 MB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2445, allocations: 0.7245 MB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.2445, allocations: 0 / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.2446, allocations: 7.938 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.2446, allocations: 7.938 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.2451, allocations: 99.77 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.2452, allocations: 71.83 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.2452, allocations: 11.98 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.2453, allocations: 27.91 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.2454, allocations: 43.77 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2454, allocations: 8 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.2456, allocations: 83.91 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.2456, allocations: 19.91 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.2457, allocations: 53.56 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.2459, allocations: 143.8 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2459, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2459, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2459, allocations: 0 / 1.061 GB, free: 2.332 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.0004936/0.2464, allocations: 405 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2464, allocations: 11.97 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.2465, allocations: 38.73 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.2465, allocations: 4.938 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2466, allocations: 172.2 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2467, allocations: 4.375 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.2467, allocations: 8.312 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2469, allocations: 73.77 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2469, allocations: 7.984 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2469, allocations: 8 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2469, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.247, allocations: 39.92 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.2476, allocations: 328.7 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.2477, allocations: 46.56 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.2478, allocations: 36.97 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2478, allocations: 8 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.248, allocations: 79.31 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.248, allocations: 0 / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003797/0.2484, allocations: 157.5 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2485, allocations: 55.39 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.2486, allocations: 121.8 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2486, allocations: 29.7 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.2486, allocations: 92.12 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2487, allocations: 15.75 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.2487, allocations: 17.72 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.2488, allocations: 326.7 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.2489, allocations: 31.98 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.249, allocations: 50.62 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.2492, allocations: 82.86 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2492, allocations: 0 / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002432/0.2494, allocations: 121.4 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2495, allocations: 4 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2495, allocations: 15.94 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2495, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.2496, allocations: 11.98 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2496, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.2497, allocations: 7.984 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2497, allocations: 8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.136e-05/0.2498, allocations: 117.8 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.2498, allocations: 11.91 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.2498, allocations: 8.375 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2498, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2498, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2499, allocations: 7.922 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.2503, allocations: 374.4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2503, allocations: 7.984 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.2503, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2504, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.2504, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2504, allocations: 3.938 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2504, allocations: 0 / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.2507, allocations: 227.3 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.2507, allocations: 81.02 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.2507, allocations: 4 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.2508, allocations: 11.92 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.2509, allocations: 7.984 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2509, allocations: 7.984 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.2509, allocations: 87.28 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2509, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002744/0.2512, allocations: 43.98 kB / 1.065 GB, free: 14.61 MB / 0.8262 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,win.occ,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.0006963/0.2519, allocations: 0.8204 MB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.2521, allocations: 75.89 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2522, allocations: 4 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.2523, allocations: 40.09 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.2525, allocations: 11.92 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.254, allocations: 1.513 MB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2542, allocations: 0.6926 MB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.2543, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.2543, allocations: 23.42 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2543, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01065/0.265, allocations: 2.322 MB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.2652, allocations: 271.8 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.838, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed