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.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.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.001041/0.001041, allocations: 92.55 kB / 16.02 MB, free: 76 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.001426/0.001426, allocations: 183.8 kB / 16.92 MB, free: 6.926 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.363 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.393/2.393, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6938, allocations: 142.4 MB / 0.9557 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001358/0.6952, allocations: 1.221 MB / 0.9569 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.6962, allocations: 0.7181 MB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.6963, allocations: 3.938 kB / 0.9576 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.6963, allocations: 0.9062 kB / 0.9576 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.6963, allocations: 8.859 kB / 0.9576 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.6968, allocations: 105 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.6969, allocations: 78.39 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.697, allocations: 13.17 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.6971, allocations: 33.59 kB / 0.9578 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.6971, allocations: 35.2 kB / 0.9579 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.6971, allocations: 3.031 kB / 0.9579 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.6973, allocations: 89.7 kB / 0.9579 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.6973, allocations: 14.19 kB / 0.958 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.6974, allocations: 58.42 kB / 0.958 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.6975, allocations: 99.23 kB / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6976, allocations: 1.125 kB / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6976, allocations: 0 / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.6976, allocations: 0 / 0.9581 GB, free: 5.832 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.0004579/0.698, allocations: 413.9 kB / 0.9585 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.6981, allocations: 9 kB / 0.9585 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.6981, allocations: 8.469 kB / 0.9585 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.855e-05/0.6982, allocations: 175.8 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.6982, allocations: 3.969 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.6983, allocations: 3.969 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.6984, allocations: 86.77 kB / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.6984, allocations: 0 / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.6985, allocations: 0 / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6985, allocations: 1.562 kB / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.6986, allocations: 41.84 kB / 0.9588 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.6991, allocations: 326.3 kB / 0.9591 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.6993, allocations: 51.38 kB / 0.9592 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.6994, allocations: 38.09 kB / 0.9592 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.6994, allocations: 1.281 kB / 0.9592 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.6996, allocations: 84.06 kB / 0.9593 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.6996, allocations: 3.938 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003694/0.6999, allocations: 144.8 kB / 0.9594 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.7, allocations: 57.5 kB / 0.9595 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.7001, allocations: 129 kB / 0.9596 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7001, allocations: 26.8 kB / 0.9596 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.7001, allocations: 90.42 kB / 0.9597 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.7001, allocations: 18.11 kB / 0.9598 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.7002, allocations: 18.56 kB / 0.9598 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.7002, allocations: 327.8 kB / 0.9601 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.7003, allocations: 25.8 kB / 0.9601 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.7004, allocations: 55.7 kB / 0.9602 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.7005, allocations: 78.72 kB / 0.9602 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7006, allocations: 0 / 0.9602 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002238/0.7008, allocations: 119.2 kB / 0.9603 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7008, allocations: 9.75 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.7008, allocations: 0 / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.7008, allocations: 1.344 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.7009, allocations: 14.08 kB / 0.9604 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.7009, allocations: 1.062 kB / 0.9604 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.701, allocations: 13.56 kB / 0.9604 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.701, allocations: 6.203 kB / 0.9604 GB, free: 3.691 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.279e-05/0.7011, allocations: 127.8 kB / 0.9605 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.7011, allocations: 7.031 kB / 0.9605 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.7012, allocations: 9.875 kB / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7012, allocations: 0 / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7012, allocations: 1.5 kB / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7012, allocations: 3.938 kB / 0.9605 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.7015, allocations: 388.3 kB / 0.9609 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7015, allocations: 0 / 0.9609 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.7016, allocations: 9.484 kB / 0.9609 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.7016, allocations: 3.938 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.7016, allocations: 1.375 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7016, allocations: 0 / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7016, allocations: 5.312 kB / 0.9609 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.7019, allocations: 214.9 kB / 0.9611 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.7019, allocations: 83.77 kB / 0.9612 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.7019, allocations: 8 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.702, allocations: 5.5 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.7021, allocations: 10.67 kB / 0.9612 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7021, allocations: 1.375 kB / 0.9612 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.7021, allocations: 92.89 kB / 0.9613 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7021, allocations: 4 kB / 0.9613 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002953/0.7024, allocations: 39.48 kB / 0.9614 GB, free: 2.781 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.0003035/0.7027, allocations: 177.8 kB / 0.9615 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.7029, allocations: 70.72 kB / 0.9616 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.703, allocations: 0 / 0.9616 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.338e-05/0.7031, allocations: 47.28 kB / 0.9616 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.7033, allocations: 4.125 kB / 0.9616 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.7037, allocations: 236.4 kB / 0.9619 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.7038, allocations: 0.6878 MB / 0.9625 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.7038, allocations: 15.56 kB / 0.9626 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7038, allocations: 0 / 0.9626 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of Templates: time 0.003416/0.7072, allocations: 1.609 MB / 0.9641 GB, free: 0.8477 MB / 0.7169 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