Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9097/0.9097, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.631/1.631, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.716e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001907/0.001934, allocations: 1.516 MB / 0.9532 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.002901, allocations: 0.7639 MB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.002955, allocations: 4 kB / 0.9539 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.002984, allocations: 3.938 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.003029, allocations: 11.86 kB / 0.954 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.003543, allocations: 151.3 kB / 0.9541 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003648, allocations: 79.72 kB / 0.9542 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.003737, allocations: 8.172 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.003866, allocations: 55.88 kB / 0.9542 GB, free: 404 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.005e-05/0.003916, allocations: 35.89 kB / 0.9543 GB, free: 368 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.003934, allocations: 4 kB / 0.9543 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.004131, allocations: 135.7 kB / 0.9544 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.004153, allocations: 19.92 kB / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.004187, allocations: 23.97 kB / 0.9544 GB, free: 184 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.004401, allocations: 171.4 kB / 0.9546 GB, free: 12 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004403, allocations: 4 kB / 0.9546 GB, free: 8 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004404, allocations: 0 / 0.9546 GB, free: 8 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.004408, allocations: 0 / 0.9546 GB, free: 8 kB / 0.9011 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.0004863/0.004894, allocations: 359.5 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.004929, allocations: 8.031 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.00512, allocations: 32.86 kB / 0.955 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.005295, allocations: 125.7 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.005314, allocations: 384 / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.005326, allocations: 8.375 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.005455, allocations: 70.16 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005462, allocations: 192 / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.005473, allocations: 4.125 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.005478, allocations: 11.98 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.00555, allocations: 35.97 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.005915, allocations: 252.5 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.005999, allocations: 46.5 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.006049, allocations: 28.97 kB / 0.9556 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.006069, allocations: 3.938 kB / 0.9556 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.00617, allocations: 79.38 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.006171, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.000265/0.006436, allocations: 137.7 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.006468, allocations: 59.34 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.006539, allocations: 130 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.006552, allocations: 25.7 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.006592, allocations: 92.12 kB / 0.9561 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.00661, allocations: 19.84 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.006647, allocations: 33.7 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.006721, allocations: 314.8 kB / 0.9564 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.00677, allocations: 27.97 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.006826, allocations: 46.56 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.006924, allocations: 86.73 kB / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006926, allocations: 0 / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001416/0.007067, allocations: 121.5 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.007079, allocations: 4 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007084, allocations: 0 / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.007096, allocations: 4 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.007151, allocations: 11.98 kB / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007156, allocations: 0 / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.007187, allocations: 11.95 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.007196, allocations: 4 kB / 0.9567 GB, free: 13.66 MB / 0.9167 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.357e-05/0.00726, allocations: 125.8 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.00727, allocations: 7.938 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.007292, allocations: 12.42 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.007295, allocations: 4 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007299, allocations: 0 / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.007301, allocations: 0 / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.007569, allocations: 322.1 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.00757, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.007586, allocations: 7.938 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.00759, allocations: 7.984 kB / 0.9572 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.007597, allocations: 4 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007598, allocations: 0 / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007599, allocations: 0 / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.007767, allocations: 219.4 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.007775, allocations: 11.88 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.007787, allocations: 0 / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.007829, allocations: 4 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.007862, allocations: 11.98 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.007869, allocations: 0 / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.007905, allocations: 101.6 kB / 0.9575 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007906, allocations: 4 kB / 0.9575 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002089/0.008114, allocations: 43.86 kB / 0.9576 GB, free: 12.72 MB / 0.9167 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.000268/0.008382, allocations: 176.3 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.008528, allocations: 60.03 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.00853, allocations: 4.062 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.008586, allocations: 39.91 kB / 0.9578 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.008776, allocations: 11.94 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.009085, allocations: 201.9 kB / 0.958 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.00913, allocations: 67.34 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.009156, allocations: 16.48 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of SimCode: time 2.6e-07/0.009156, allocations: 4 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of Templates: time 0.002355/0.01151, allocations: 1.68 MB / 0.9598 GB, free: 10.44 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.931322168558836]