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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009211/0.009211, allocations: 100 kB / 15.73 MB, free: 6.469 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.001796/0.001796, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.995/2.995, allocations: 461.9 MB / 0.7348 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 63.89 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.004475/0.3387, allocations: 1.495 MB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3404, allocations: 0.7288 MB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.3405, allocations: 0 / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.3405, allocations: 7.922 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.3406, allocations: 19.75 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.3413, allocations: 127.6 kB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3415, allocations: 71.78 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3416, allocations: 19.94 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3417, allocations: 31.91 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.3418, allocations: 39.83 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.3418, allocations: 8 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.3421, allocations: 95.84 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.3422, allocations: 27.91 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.3422, allocations: 31.86 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.3426, allocations: 143.9 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3426, allocations: 0 / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3426, allocations: 0 / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3426, allocations: 0 / 1.21 GB, free: 7.355 MB / 0.9669 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.001019/0.3436, allocations: 413.7 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.3437, allocations: 8.625 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.659e-05/0.3438, allocations: 46.69 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.3438, allocations: 8.844 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.344, allocations: 176.2 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3441, allocations: 4.375 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.3441, allocations: 8.375 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3443, allocations: 77.69 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3443, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3443, allocations: 4 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3444, allocations: 0 / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3445, allocations: 39.97 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.3452, allocations: 316.6 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3453, allocations: 46.56 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.3454, allocations: 28.97 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3454, allocations: 8 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.3457, allocations: 79.31 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.3457, allocations: 0 / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.3461, allocations: 137.7 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.3462, allocations: 55.41 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3463, allocations: 125.8 kB / 1.212 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3463, allocations: 25.7 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.3464, allocations: 92.12 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3464, allocations: 19.75 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.3465, allocations: 29.7 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3467, allocations: 322.8 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.3468, allocations: 23.98 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.3469, allocations: 59.3 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.3471, allocations: 79.41 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3471, allocations: 0 / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002532/0.3473, allocations: 117.5 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3474, allocations: 11.98 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3474, allocations: 0 / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3474, allocations: 3.984 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.3475, allocations: 19.98 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3475, allocations: 0 / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.3476, allocations: 7.984 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.3476, allocations: 4 kB / 1.212 GB, free: 4.742 MB / 0.9669 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 0.0001019/0.3477, allocations: 127.5 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.3478, allocations: 7.906 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.3478, allocations: 12.36 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3478, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3478, allocations: 8.062 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3478, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.3483, allocations: 386.3 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3483, allocations: 0 / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.3484, allocations: 4 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3484, allocations: 4 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3484, allocations: 3.984 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3484, allocations: 3.938 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3484, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3487, allocations: 207.4 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.3488, allocations: 85.02 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.3488, allocations: 7.984 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.3489, allocations: 7.938 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.349, allocations: 4 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.349, allocations: 7.984 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.3491, allocations: 95.86 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3491, allocations: 0 / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003237/0.3494, allocations: 36 kB / 1.213 GB, free: 3.652 MB / 0.9669 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.0008968/0.3503, allocations: 0.8128 MB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3506, allocations: 67.89 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3506, allocations: 4.125 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3507, allocations: 39.92 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.351, allocations: 7.938 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3527, allocations: 1.503 MB / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.353, allocations: 0.6846 MB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.712e-05/0.3531, allocations: 12.06 kB / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.3531, allocations: 19.44 kB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of SimCode: time 1.523e-06/0.3531, allocations: 0 / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.3732, allocations: 2.69 MB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.982, allocations: 10.5 kB / 1.219 GB, free: 13.81 MB / 0.9825 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