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.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.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.001041/0.001041, 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.001421/0.001421, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.34 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.359/2.359, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003454, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6394, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001504/0.6409, allocations: 1.222 MB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.6419, allocations: 0.7098 MB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.642, allocations: 0 / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.642, allocations: 3.984 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.642, allocations: 6.062 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.6424, allocations: 108.4 kB / 0.9577 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.6425, allocations: 78.77 kB / 0.9578 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.6426, allocations: 17.41 kB / 0.9578 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.6427, allocations: 25.23 kB / 0.9578 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.6427, allocations: 39.64 kB / 0.9579 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.6428, allocations: 2.25 kB / 0.9579 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.6429, allocations: 90.16 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.6429, allocations: 9.953 kB / 0.958 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.643, allocations: 62.08 kB / 0.958 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.6431, allocations: 103.8 kB / 0.9581 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6431, allocations: 5.406 kB / 0.9581 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6431, allocations: 0 / 0.9581 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.6431, allocations: 0 / 0.9581 GB, free: 5.875 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.0004356/0.6436, allocations: 402 kB / 0.9585 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.6436, allocations: 13.92 kB / 0.9585 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.6437, allocations: 12.31 kB / 0.9585 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/0.6437, allocations: 172.6 kB / 0.9587 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.6438, allocations: 2 kB / 0.9587 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6438, allocations: 8.938 kB / 0.9587 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.644, allocations: 78.2 kB / 0.9588 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.644, allocations: 0 / 0.9588 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.644, allocations: 5.344 kB / 0.9588 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.644, allocations: 1.031 kB / 0.9588 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.6441, allocations: 46.59 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.6446, allocations: 320.6 kB / 0.9591 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.6448, allocations: 56 kB / 0.9592 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.6448, allocations: 33.91 kB / 0.9592 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.6449, allocations: 5.375 kB / 0.9592 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.645, allocations: 87.92 kB / 0.9593 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.645, allocations: 0 / 0.9593 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003471/0.6454, allocations: 153 kB / 0.9595 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.6454, allocations: 54.16 kB / 0.9595 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.6455, allocations: 120.7 kB / 0.9596 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.6455, allocations: 31.05 kB / 0.9596 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.6456, allocations: 95.05 kB / 0.9597 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.6456, allocations: 13.67 kB / 0.9598 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.6456, allocations: 17.81 kB / 0.9598 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.6457, allocations: 324 kB / 0.9601 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.6457, allocations: 30.2 kB / 0.9601 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/0.6458, allocations: 50.97 kB / 0.9602 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.646, allocations: 78.83 kB / 0.9602 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.646, allocations: 1.375 kB / 0.9602 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.6462, allocations: 126.4 kB / 0.9604 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.6462, allocations: 4.438 kB / 0.9604 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.6462, allocations: 1.312 kB / 0.9604 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.6462, allocations: 1.312 kB / 0.9604 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.6463, allocations: 13.48 kB / 0.9604 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6463, allocations: 1.156 kB / 0.9604 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.6464, allocations: 13.41 kB / 0.9604 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6464, allocations: 3.094 kB / 0.9604 GB, free: 3.742 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.169e-05/0.6465, allocations: 127.2 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.6465, allocations: 9.938 kB / 0.9605 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.6465, allocations: 6.75 kB / 0.9605 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.6466, allocations: 0.9688 kB / 0.9605 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6466, allocations: 3.938 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6466, allocations: 1 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.6469, allocations: 384.6 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6469, allocations: 3.984 kB / 0.9609 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.647, allocations: 12.52 kB / 0.9609 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.647, allocations: 0 / 0.9609 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.647, allocations: 1.125 kB / 0.9609 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.647, allocations: 1.156 kB / 0.9609 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.647, allocations: 7.938 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.6472, allocations: 223 kB / 0.9611 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.6473, allocations: 83.02 kB / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.6473, allocations: 1.125 kB / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.6474, allocations: 12.47 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.6474, allocations: 10.83 kB / 0.9612 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.6474, allocations: 1.969 kB / 0.9612 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.6475, allocations: 97.14 kB / 0.9613 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6475, allocations: 0 / 0.9613 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002817/0.6478, allocations: 36.02 kB / 0.9614 GB, free: 2.824 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.0002854/0.6481, allocations: 175.2 kB / 0.9615 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.6483, allocations: 70.72 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6483, allocations: 1.375 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.6484, allocations: 42.03 kB / 0.9616 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.6486, allocations: 8.125 kB / 0.9617 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.649, allocations: 232.3 kB / 0.9619 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.6491, allocations: 0.693 MB / 0.9626 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.6491, allocations: 14.12 kB / 0.9626 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6491, allocations: 0 / 0.9626 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.002977/0.6521, allocations: 1.603 MB / 0.9641 GB, free: 0.8984 MB / 0.7169 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