Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 91.53 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.01398/0.01398, allocations: 173.1 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437.8 MB / 0.7121 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8.281 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8382, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001748/0.84, allocations: 1.238 MB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.8413, allocations: 0.7404 MB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.8414, allocations: 3.938 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.8414, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.8415, allocations: 15.86 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.842, allocations: 111.8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.8422, allocations: 103.7 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.8423, allocations: 8 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.8424, allocations: 43.89 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.8425, allocations: 47.81 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.8425, allocations: 4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.8427, allocations: 95.84 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.8427, allocations: 19.91 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.8428, allocations: 73.41 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.843, allocations: 153.6 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8431, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8431, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8431, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006113/0.8437, allocations: 450.6 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.8437, allocations: 8.031 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.8438, allocations: 8.844 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.8439, allocations: 172.2 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.844, allocations: 8.375 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.844, allocations: 12.38 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.8442, allocations: 97.88 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.8442, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.8443, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.8443, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.8445, allocations: 59.95 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.8452, allocations: 340.7 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.8454, allocations: 62.55 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.8455, allocations: 48.83 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.8456, allocations: 3.938 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.8458, allocations: 99.36 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.8458, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000594/0.8464, allocations: 197.7 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.8465, allocations: 59.39 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.8466, allocations: 121.8 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.8466, allocations: 29.7 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.8467, allocations: 103.9 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.8467, allocations: 15.75 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.8467, allocations: 25.7 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8468, allocations: 322.8 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.8469, allocations: 27.98 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.8471, allocations: 69.41 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.8473, allocations: 104.1 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8473, allocations: 4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002663/0.8475, allocations: 133.5 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.8476, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.8476, allocations: 7.922 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.8476, allocations: 8.094 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.8477, allocations: 19.92 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8477, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.8478, allocations: 8 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.8478, allocations: 8 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001024/0.8479, allocations: 122.3 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.848, allocations: 7.906 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.848, allocations: 16.38 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.848, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.848, allocations: 3.938 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.848, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.8486, allocations: 434.3 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8486, allocations: 7.984 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.8486, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.8487, allocations: 4 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.8487, allocations: 0 / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.8487, allocations: 8.047 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.8487, allocations: 3.938 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.8491, allocations: 255.3 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.8491, allocations: 81.11 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.8492, allocations: 4 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8493, allocations: 7.984 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.8493, allocations: 7.938 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.8493, allocations: 7.984 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.8494, allocations: 103.1 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8494, allocations: 4 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003193/0.8497, allocations: 39.91 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003273/0.8501, allocations: 158.2 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.8504, allocations: 103.9 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.8504, allocations: 0 / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.8505, allocations: 47.92 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.8508, allocations: 14.52 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.8513, allocations: 225.8 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.8515, allocations: 0.6926 MB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.8516, allocations: 12.08 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.8516, allocations: 19.38 kB / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of SimCode: time 1.763e-06/0.8516, allocations: 0 / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of Templates: time 0.004361/0.856, allocations: 1.62 MB / 1.032 GB, free: 6.164 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0