Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001302, allocations: 110.6 kB / 16.41 MB, free: 6.477 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.001349/0.00135, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 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.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 67.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8724, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002728/0.8751, allocations: 1.493 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.8765, allocations: 0.7364 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.8765, allocations: 1.125 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.8766, allocations: 4.734 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.8766, allocations: 9.797 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.8772, allocations: 121.6 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.8774, allocations: 76.75 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.8775, allocations: 15.78 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8776, allocations: 34.94 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.8777, allocations: 41.11 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.8778, allocations: 6.156 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.878, allocations: 95.28 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.878, allocations: 14.44 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.8781, allocations: 31.64 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.8784, allocations: 146.6 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8784, allocations: 0 / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8784, allocations: 0 / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.8784, allocations: 4.906 kB / 1.091 GB, free: 3.746 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.0006228/0.879, allocations: 424 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.8791, allocations: 9.922 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.8791, allocations: 8.281 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/0.8792, allocations: 169.8 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.8793, allocations: 8.297 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.8793, allocations: 7.594 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.8795, allocations: 76.72 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8795, allocations: 0 / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.8795, allocations: 9.094 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8795, allocations: 1.031 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.8797, allocations: 36.03 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.8803, allocations: 319.4 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.8804, allocations: 45.02 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.8805, allocations: 32.19 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.8806, allocations: 9.438 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.8808, allocations: 80.69 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.8808, allocations: 0 / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000404/0.8812, allocations: 137.7 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.8812, allocations: 53.83 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.8813, allocations: 120.5 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.8814, allocations: 30.83 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.8814, allocations: 91.64 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.8814, allocations: 19.44 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.8815, allocations: 30.56 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.8816, allocations: 318.3 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.8816, allocations: 32.42 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.8818, allocations: 53.61 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.8819, allocations: 72.61 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8819, allocations: 0.7812 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002384/0.8822, allocations: 116.5 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8822, allocations: 5.156 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8822, allocations: 0.8125 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8822, allocations: 2.359 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.8823, allocations: 15.02 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.8824, allocations: 1.547 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.8824, allocations: 13.2 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.8824, allocations: 3.969 kB / 1.094 GB, free: 1.754 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.901e-05/0.8825, allocations: 127.2 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.8825, allocations: 7.125 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.8826, allocations: 7.594 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.8826, allocations: 4.812 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8826, allocations: 8.844 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8826, allocations: 0.7031 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.883, allocations: 379.2 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.883, allocations: 0 / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.8831, allocations: 5.578 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8831, allocations: 0 / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.8831, allocations: 2.594 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8831, allocations: 0.75 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.8831, allocations: 8.594 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.8834, allocations: 212.1 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.8834, allocations: 80.16 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.8835, allocations: 5.219 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.8836, allocations: 8.406 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.8836, allocations: 12.77 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.8836, allocations: 3.5 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.8837, allocations: 95.89 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8837, allocations: 0 / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003342/0.884, allocations: 46.61 kB / 1.095 GB, free: 0.8945 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.0003584/0.8844, allocations: 155.4 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.8846, allocations: 76.64 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8847, allocations: 0 / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8848, allocations: 40.94 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.885, allocations: 9.938 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.8854, allocations: 204.5 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.8856, allocations: 0.6933 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.8857, allocations: 11.83 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8857, allocations: 0 / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.00431/0.89, allocations: 1.622 MB / 1.097 GB, free: 15.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches