Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 182.3 kB / 16.92 MB, free: 6.922 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6003/0.6007, allocations: 142.4 MB / 0.9557 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001597/0.6023, allocations: 1.213 MB / 0.9569 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.6035, allocations: 0.7132 MB / 0.9576 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.6036, allocations: 5.031 kB / 0.9576 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.6036, allocations: 3.984 kB / 0.9576 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.6037, allocations: 9.891 kB / 0.9576 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.6042, allocations: 104.4 kB / 0.9577 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.6043, allocations: 75.5 kB / 0.9578 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.6044, allocations: 20.66 kB / 0.9578 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.6045, allocations: 28.81 kB / 0.9578 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.6046, allocations: 32.19 kB / 0.9579 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.6046, allocations: 2.531 kB / 0.9579 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.6048, allocations: 94.12 kB / 0.958 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.6048, allocations: 14.34 kB / 0.958 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.6049, allocations: 54.75 kB / 0.958 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.6051, allocations: 98.83 kB / 0.9581 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6051, allocations: 4 kB / 0.9581 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6051, allocations: 0 / 0.9581 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.6051, allocations: 1.781 kB / 0.9581 GB, free: 5.902 MB / 0.7169 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.0005108/0.6056, allocations: 412 kB / 0.9585 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.6056, allocations: 10.09 kB / 0.9585 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.6057, allocations: 8.188 kB / 0.9585 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.184e-05/0.6058, allocations: 176.7 kB / 0.9587 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.6058, allocations: 5.906 kB / 0.9587 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.6058, allocations: 4.812 kB / 0.9587 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.606, allocations: 83.17 kB / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.606, allocations: 0 / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.6061, allocations: 0 / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6061, allocations: 1.25 kB / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.6062, allocations: 46.5 kB / 0.9588 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.6067, allocations: 317.9 kB / 0.9591 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.6069, allocations: 56.45 kB / 0.9592 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.824e-05/0.607, allocations: 37.12 kB / 0.9592 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.607, allocations: 1.844 kB / 0.9592 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.6072, allocations: 83.09 kB / 0.9593 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.6072, allocations: 7.938 kB / 0.9593 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003768/0.6076, allocations: 141 kB / 0.9594 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.6076, allocations: 58.16 kB / 0.9595 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.6077, allocations: 128.8 kB / 0.9596 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6077, allocations: 27.08 kB / 0.9597 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.6078, allocations: 93.42 kB / 0.9597 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.6078, allocations: 18.55 kB / 0.9598 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.6078, allocations: 17.84 kB / 0.9598 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.6079, allocations: 325.5 kB / 0.9601 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.608, allocations: 28.42 kB / 0.9601 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.608, allocations: 55.19 kB / 0.9602 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6082, allocations: 83.59 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6082, allocations: 0 / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002229/0.6084, allocations: 119.1 kB / 0.9604 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6085, allocations: 5.5 kB / 0.9604 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6085, allocations: 1.375 kB / 0.9604 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.6085, allocations: 1.375 kB / 0.9604 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.6086, allocations: 12.23 kB / 0.9604 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6086, allocations: 1.375 kB / 0.9604 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.6087, allocations: 13.44 kB / 0.9604 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6087, allocations: 6.812 kB / 0.9604 GB, free: 3.758 MB / 0.7169 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 6.741e-05/0.6088, allocations: 127 kB / 0.9605 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.6088, allocations: 7.906 kB / 0.9605 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.6088, allocations: 9.688 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6088, allocations: 1.688 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6088, allocations: 0 / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6088, allocations: 3.938 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.6092, allocations: 389.3 kB / 0.9609 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.6092, allocations: 3.984 kB / 0.9609 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.6093, allocations: 7.422 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6093, allocations: 1.156 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6093, allocations: 4.781 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6093, allocations: 1.094 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6093, allocations: 3.938 kB / 0.9609 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.6096, allocations: 216.1 kB / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.6096, allocations: 82.02 kB / 0.9612 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.6096, allocations: 5.156 kB / 0.9612 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.6097, allocations: 5.219 kB / 0.9612 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.6098, allocations: 17.83 kB / 0.9612 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.6098, allocations: 2.562 kB / 0.9612 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.6098, allocations: 92.2 kB / 0.9613 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6098, allocations: 0 / 0.9613 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003057/0.6101, allocations: 41.14 kB / 0.9614 GB, free: 2.844 MB / 0.7169 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.0003414/0.6105, allocations: 169.5 kB / 0.9615 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.6107, allocations: 67.03 kB / 0.9616 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6107, allocations: 0 / 0.9616 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.6108, allocations: 47.22 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.6111, allocations: 11.61 kB / 0.9617 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.6115, allocations: 229.2 kB / 0.9619 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.6116, allocations: 0.6878 MB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.6116, allocations: 15.56 kB / 0.9626 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.6116, allocations: 4 kB / 0.9626 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of Templates: time 0.003478/0.6151, allocations: 1.604 MB / 0.9641 GB, free: 0.918 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches