Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007077/0.007077, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.00149/0.00149, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9191/0.9203, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003065/0.9235, allocations: 1.511 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.9247, allocations: 0.7241 MB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.9248, allocations: 1.031 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.9248, allocations: 8.641 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.9249, allocations: 11.02 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.9255, allocations: 120.6 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.9256, allocations: 78.41 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.9257, allocations: 14.91 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.9258, allocations: 30.66 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.9259, allocations: 37.44 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.9259, allocations: 10.34 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.9262, allocations: 98.25 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.9262, allocations: 19.48 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.9263, allocations: 32.2 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.9265, allocations: 140.7 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9266, allocations: 1 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9266, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.9266, allocations: 0.7031 kB / 1.091 GB, free: 3.727 MB / 0.8575 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.0005755/0.9272, allocations: 427.4 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.9272, allocations: 9.562 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.9273, allocations: 8.078 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.9273, allocations: 174 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.9274, allocations: 7.906 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.9274, allocations: 3.344 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.9276, allocations: 69.22 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.9276, allocations: 0 / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.9276, allocations: 5.703 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.9276, allocations: 4.969 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.9278, allocations: 39.75 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.9283, allocations: 326.6 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.9285, allocations: 49.09 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.9286, allocations: 36.48 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.9286, allocations: 1.266 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.9288, allocations: 73.53 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.9288, allocations: 3.938 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004216/0.9292, allocations: 136.9 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.9293, allocations: 58.33 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-05/0.9294, allocations: 119.7 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.9294, allocations: 30.48 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.9294, allocations: 88.3 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.9295, allocations: 20.5 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.9295, allocations: 25.03 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.9296, allocations: 323.3 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.9297, allocations: 31.48 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.9298, allocations: 50.66 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.9299, allocations: 72.97 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9299, allocations: 0 / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002647/0.9302, allocations: 121 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.9302, allocations: 5.875 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9302, allocations: 1 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9303, allocations: 0.9375 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.9304, allocations: 15.77 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.9304, allocations: 0.9688 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.9305, allocations: 13.33 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.9305, allocations: 3.422 kB / 1.093 GB, free: 1.73 MB / 0.8575 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 7.132e-05/0.9305, allocations: 128.9 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.9306, allocations: 10.98 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.9306, allocations: 6.531 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.9306, allocations: 1.906 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9306, allocations: 0.6094 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9306, allocations: 0 / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.931, allocations: 383.4 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.931, allocations: 0 / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.9311, allocations: 10.03 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9311, allocations: 0.875 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.9311, allocations: 1.5 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.9311, allocations: 1.547 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9311, allocations: 3.938 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.9314, allocations: 211.5 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.9314, allocations: 83.8 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.9315, allocations: 13.36 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.9316, allocations: 4.625 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.9316, allocations: 13.11 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.9316, allocations: 2.844 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.9317, allocations: 100.5 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9317, allocations: 0 / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003084/0.932, allocations: 39.03 kB / 1.094 GB, free: 0.8672 MB / 0.8575 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.0004194/0.9324, allocations: 154.7 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.9328, allocations: 76.75 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9328, allocations: 0 / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.9329, allocations: 32.75 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.9332, allocations: 10.73 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.9337, allocations: 184.3 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.9338, allocations: 0.6868 MB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.9339, allocations: 8.281 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.9339, allocations: 12.64 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9339, allocations: 3.938 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.004888/0.9388, allocations: 1.454 MB / 1.096 GB, free: 15.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0