Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 102.2 kB / 16.4 MB, free: 6.461 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.001074/0.001074, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.362/1.362, 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.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8382/0.8407, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002529/0.8432, allocations: 1.492 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.8444, allocations: 0.7351 MB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.8445, allocations: 0 / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.8445, allocations: 4.5 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.8446, allocations: 10.92 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.8452, allocations: 121.8 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.8453, allocations: 72.23 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.8454, allocations: 15.98 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.8455, allocations: 39.16 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.8455, allocations: 37.38 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.8456, allocations: 6.594 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.8458, allocations: 94.19 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.8458, allocations: 18.67 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.8459, allocations: 32.17 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.8461, allocations: 141.4 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8461, allocations: 1.219 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8461, allocations: 0 / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8461, allocations: 0 / 1.091 GB, free: 3.75 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.0005314/0.8467, allocations: 424.2 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.8467, allocations: 10.41 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.8468, allocations: 12.81 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/0.8468, allocations: 172.8 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.8469, allocations: 7.969 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.8469, allocations: 4.531 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.8471, allocations: 75.5 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.8471, allocations: 0.5625 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.8471, allocations: 12.67 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8471, allocations: 1.609 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.8473, allocations: 35.81 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.8478, allocations: 310.8 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.848, allocations: 53.59 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.848, allocations: 36.8 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.8481, allocations: 0.75 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.8483, allocations: 77.06 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.8483, allocations: 0 / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004059/0.8487, allocations: 142.2 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.8487, allocations: 53.95 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.8488, allocations: 123.1 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.8488, allocations: 30.52 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.8489, allocations: 92.19 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.8489, allocations: 12.14 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.8489, allocations: 24.78 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.849, allocations: 324.3 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.8491, allocations: 39.19 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.8492, allocations: 50.84 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.8494, allocations: 76.5 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8494, allocations: 0 / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002269/0.8496, allocations: 116.9 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.8496, allocations: 5.5 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8496, allocations: 0.5156 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8497, allocations: 2.156 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.8498, allocations: 11.7 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8498, allocations: 1.5 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.8498, allocations: 12.81 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.8499, allocations: 4.281 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 6.437e-05/0.8499, allocations: 127.7 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.85, allocations: 10.7 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.85, allocations: 7.266 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.85, allocations: 0.8438 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.85, allocations: 1.5 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.85, allocations: 0 / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.8504, allocations: 382.1 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.8504, allocations: 5.406 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.8505, allocations: 4.734 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.8505, allocations: 1.031 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.8505, allocations: 5.812 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8505, allocations: 1.422 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8505, allocations: 4.656 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.8508, allocations: 211.5 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.8508, allocations: 80.17 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.8508, allocations: 5.562 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.8509, allocations: 4.016 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.851, allocations: 9.016 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.851, allocations: 3.594 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.851, allocations: 95.88 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.851, allocations: 0 / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003266/0.8514, allocations: 46.17 kB / 1.095 GB, free: 0.8984 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.0003133/0.8517, allocations: 171.1 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.8519, allocations: 69.02 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.852, allocations: 0 / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.8521, allocations: 45.52 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.0002578/0.8523, allocations: 12.33 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.0003729/0.8527, allocations: 204.4 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.8529, allocations: 0.6874 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.8529, allocations: 12.19 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8529, allocations: 0 / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.003982/0.8569, allocations: 1.628 MB / 1.097 GB, free: 15.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches