Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.0007865/0.0007865, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007696/0.0007696, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8438/0.8438, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.582/1.582, allocations: 359 MB / 0.6044 GB, free: 11.11 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.308e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001809/0.001833, allocations: 1.517 MB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.002802, allocations: 0.7639 MB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.002856, allocations: 0 / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.002885, allocations: 3.938 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.002935, allocations: 19.81 kB / 0.954 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.003515, allocations: 147.4 kB / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.003625, allocations: 83.7 kB / 0.9542 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.003718, allocations: 8.172 kB / 0.9542 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.003849, allocations: 47.95 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.003898, allocations: 31.88 kB / 0.9543 GB, free: 396 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.003916, allocations: 11.94 kB / 0.9543 GB, free: 384 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.004101, allocations: 135.8 kB / 0.9544 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.00412, allocations: 19.91 kB / 0.9544 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.004152, allocations: 19.98 kB / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.00436, allocations: 175.4 kB / 0.9546 GB, free: 32 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004362, allocations: 0 / 0.9546 GB, free: 32 kB / 0.9011 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004363, allocations: 0 / 0.9546 GB, free: 32 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.004367, allocations: 3.938 kB / 0.9546 GB, free: 28 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.0005017/0.004869, allocations: 355.5 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.004904, allocations: 12.03 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.005087, allocations: 32.88 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.005247, allocations: 132.5 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.005267, allocations: 4.375 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.005279, allocations: 4.375 kB / 0.9551 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.00541, allocations: 66.22 kB / 0.9552 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.005419, allocations: 192 / 0.9552 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.005436, allocations: 8.125 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005442, allocations: 0 / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.005515, allocations: 39.91 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.005889, allocations: 244.5 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.005976, allocations: 54.55 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.006021, allocations: 28.97 kB / 0.9556 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.006042, allocations: 3.938 kB / 0.9556 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.006145, allocations: 87.38 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006146, allocations: 0 / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002802/0.006426, allocations: 133.6 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.006463, allocations: 59.41 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.006537, allocations: 126 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006549, allocations: 25.7 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.006593, allocations: 92.14 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.00661, allocations: 15.83 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.006646, allocations: 29.7 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.006722, allocations: 318.8 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.006768, allocations: 31.92 kB / 0.9564 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.006823, allocations: 54.48 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.006918, allocations: 74.84 kB / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00692, allocations: 0 / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001339/0.007054, allocations: 113.5 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.007067, allocations: 8 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007072, allocations: 3.984 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.007085, allocations: 8 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.007141, allocations: 12 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.007147, allocations: 4 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.007178, allocations: 11.94 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.007188, allocations: 0 / 0.9567 GB, free: 13.68 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.508e-05/0.007253, allocations: 117.8 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.007262, allocations: 7.938 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.007283, allocations: 12.42 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007285, allocations: 0 / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.00729, allocations: 11.92 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007294, allocations: 0 / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.007575, allocations: 330 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007576, allocations: 0 / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.007594, allocations: 4 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007596, allocations: 0 / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.007605, allocations: 7.984 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007606, allocations: 4 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007606, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.007759, allocations: 215.3 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-06/0.007768, allocations: 11.89 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.007781, allocations: 7.984 kB / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.007823, allocations: 4 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.007857, allocations: 3.984 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.007864, allocations: 11.94 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001836/0.008048, allocations: 101.1 kB / 0.9575 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008048, allocations: 0 / 0.9575 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000189/0.008237, allocations: 35.94 kB / 0.9576 GB, free: 12.75 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.0002609/0.008498, allocations: 169.5 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.008646, allocations: 67.89 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008648, allocations: 4 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.008703, allocations: 31.91 kB / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.008886, allocations: 20.59 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.009183, allocations: 195.1 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.009229, allocations: 75.33 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.00926, allocations: 16.5 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.00926, allocations: 0 / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of Templates: time 0.002392/0.01165, allocations: 1.676 MB / 0.9598 GB, free: 10.46 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.472711433656514]