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.001265/0.001265, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001293/0.001293, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.806, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002462/0.8085, allocations: 1.495 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.8097, allocations: 0.7287 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.8098, allocations: 4 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.8098, allocations: 6.391 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.8099, allocations: 9.984 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.8104, allocations: 121.8 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.8105, allocations: 80.42 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.8106, allocations: 7.359 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.8107, allocations: 39.39 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.8108, allocations: 40.45 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.8108, allocations: 6.5 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.811, allocations: 98.7 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.8111, allocations: 18.3 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.8111, allocations: 33.19 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.8114, allocations: 136.9 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8114, allocations: 1.031 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8114, allocations: 0 / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8114, allocations: 0 / 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.0005372/0.8119, allocations: 424.9 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.812, allocations: 9.281 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.812, allocations: 8.797 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.39e-05/0.8121, allocations: 173.2 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.8122, allocations: 12.45 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.8122, allocations: 3.562 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.8124, allocations: 76.44 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.8124, allocations: 0.875 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8124, allocations: 4.609 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8124, allocations: 1.781 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.8125, allocations: 35.39 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.8131, allocations: 318.6 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.8132, allocations: 54.28 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.8133, allocations: 31.59 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.8134, allocations: 1.578 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.8135, allocations: 76.48 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.8136, allocations: 0.6562 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003861/0.814, allocations: 149.5 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.814, allocations: 53.67 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.8141, allocations: 123.6 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.8141, allocations: 31.17 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.8141, allocations: 92.33 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.8142, allocations: 11.2 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.8142, allocations: 30.02 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.8143, allocations: 318.7 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.8144, allocations: 35.75 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.8145, allocations: 46.06 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.8146, allocations: 72.16 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8147, allocations: 0.6562 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002289/0.8149, allocations: 120.1 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8149, allocations: 6.578 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8149, allocations: 0.9375 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8149, allocations: 4.969 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.311e-05/0.815, allocations: 15.97 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8151, allocations: 0.9688 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.8151, allocations: 13.78 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.8151, allocations: 7.547 kB / 1.094 GB, free: 1.742 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.066e-05/0.8152, allocations: 123.8 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.8152, allocations: 7.578 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.8153, allocations: 6.891 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.8153, allocations: 1 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8153, allocations: 0.6562 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8153, allocations: 0.9688 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.8157, allocations: 382.7 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8157, allocations: 0 / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.8158, allocations: 5.422 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8158, allocations: 0.9062 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.8158, allocations: 2.219 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8158, allocations: 0.9062 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.8158, allocations: 4.531 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.8161, allocations: 219.9 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.8161, allocations: 84.09 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.8161, allocations: 1.672 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.8162, allocations: 4.156 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.8163, allocations: 12.72 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.8163, allocations: 7.25 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.8163, allocations: 91.88 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8163, allocations: 0.6562 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003195/0.8167, allocations: 46.42 kB / 1.095 GB, free: 0.8906 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.0003494/0.817, allocations: 164.4 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.8173, allocations: 71.56 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8173, allocations: 0.9062 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.8174, allocations: 37.45 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.0002699/0.8177, allocations: 13.12 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.8181, allocations: 212.4 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.8182, allocations: 0.6866 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.8183, allocations: 12.39 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8183, allocations: 0.75 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004257/0.8225, allocations: 1.618 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