Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001514, allocations: 100.1 kB / 15.88 MB, free: 12 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.00152/0.00152, allocations: 198 kB / 16.79 MB, free: 6.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.369/2.369, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6912/0.6929, allocations: 140.4 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003798/0.6968, allocations: 1.567 MB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.6986, allocations: 0.7282 MB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.6987, allocations: 1.312 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.6987, allocations: 0 / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.6989, allocations: 13.3 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.6996, allocations: 105.2 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.6997, allocations: 73.77 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.6998, allocations: 13.83 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.6999, allocations: 36.92 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.7, allocations: 35.53 kB / 0.9521 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.7001, allocations: 3.594 kB / 0.9521 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.7004, allocations: 90.38 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.7004, allocations: 14.36 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.7005, allocations: 30.12 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.7007, allocations: 103.1 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7008, allocations: 0 / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7008, allocations: 0 / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7008, allocations: 0 / 0.9523 GB, free: 7.129 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.0007616/0.7016, allocations: 424.6 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.7016, allocations: 9.656 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.7017, allocations: 3.656 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.7018, allocations: 179.7 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.7019, allocations: 7 kB / 0.9529 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.7019, allocations: 8.094 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.7022, allocations: 68.34 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.7022, allocations: 4 kB / 0.953 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.7023, allocations: 5.375 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.7023, allocations: 1.688 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.7025, allocations: 35.19 kB / 0.953 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.7034, allocations: 321.9 kB / 0.9533 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.7036, allocations: 49.44 kB / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.7038, allocations: 30.81 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.7038, allocations: 0.9375 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.7041, allocations: 77.27 kB / 0.9535 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.7041, allocations: 1.094 kB / 0.9535 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006563/0.7047, allocations: 151.5 kB / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.7048, allocations: 53.97 kB / 0.9537 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.7049, allocations: 116.9 kB / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7049, allocations: 31.14 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.705, allocations: 89.75 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.705, allocations: 14.56 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.7051, allocations: 27.64 kB / 0.954 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.7052, allocations: 328.3 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.7053, allocations: 25.58 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.7055, allocations: 44.72 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.7058, allocations: 77.33 kB / 0.9544 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7058, allocations: 0.6562 kB / 0.9544 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004225/0.7063, allocations: 117.1 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7063, allocations: 5.125 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.7063, allocations: 1.25 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.7064, allocations: 1.281 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7065, allocations: 12.23 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.7066, allocations: 1.281 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.7067, allocations: 15.62 kB / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.7067, allocations: 4.219 kB / 0.9546 GB, free: 4.988 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 0.0001006/0.7068, allocations: 126 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.7069, allocations: 7.969 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.7069, allocations: 5.562 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7069, allocations: 3.938 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.707, allocations: 5.188 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.707, allocations: 0 / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.7076, allocations: 391.1 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7076, allocations: 0 / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.7077, allocations: 7.109 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.7077, allocations: 1.406 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.7078, allocations: 5.094 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7078, allocations: 480 / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7078, allocations: 5.156 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.7082, allocations: 217.6 kB / 0.9553 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.7082, allocations: 82.2 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.7083, allocations: 1.188 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7085, allocations: 3.438 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.7085, allocations: 13.89 kB / 0.9554 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.7086, allocations: 2 kB / 0.9554 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.7086, allocations: 97.86 kB / 0.9555 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7086, allocations: 0 / 0.9555 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005656/0.7092, allocations: 44.95 kB / 0.9555 GB, free: 4.062 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.0004741/0.7097, allocations: 154.7 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.7101, allocations: 69.91 kB / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7101, allocations: 4.125 kB / 0.9557 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.7103, allocations: 36.28 kB / 0.9558 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.7108, allocations: 12.02 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.7113, allocations: 213.5 kB / 0.956 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.7115, allocations: 0.7001 MB / 0.9567 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.7115, allocations: 11.56 kB / 0.9567 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7115, allocations: 0 / 0.9567 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.004631/0.7162, allocations: 1.612 MB / 0.9583 GB, free: 2.148 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches