Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.0008159/0.0008159, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008159/0.0008159, allocations: 177.9 kB / 23.21 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.8348/0.8348, allocations: 177.2 MB / 203.5 MB, free: 5.75 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.611/1.611, 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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.366e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00204/0.002074, allocations: 1.517 MB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003201, allocations: 0.7677 MB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.003269, allocations: 4 kB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.003299, allocations: 3.938 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.003353, allocations: 7.875 kB / 0.954 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.004053, allocations: 155.3 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.004188, allocations: 71.78 kB / 0.9542 GB, free: 488 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.004281, allocations: 16.16 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.00442, allocations: 47.84 kB / 0.9542 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.004473, allocations: 39.88 kB / 0.9543 GB, free: 384 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.004492, allocations: 4 kB / 0.9543 GB, free: 380 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.004714, allocations: 139.7 kB / 0.9544 GB, free: 240 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.004736, allocations: 15.98 kB / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.004774, allocations: 23.91 kB / 0.9544 GB, free: 200 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.005011, allocations: 167.5 kB / 0.9546 GB, free: 32 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005013, allocations: 8 kB / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005015, allocations: 0 / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.00502, allocations: 3.938 kB / 0.9546 GB, free: 20 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.0005368/0.005557, allocations: 351.5 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.005592, allocations: 8.031 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.005792, allocations: 28.88 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.005987, allocations: 129.7 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.006011, allocations: 384 / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.006023, allocations: 16.25 kB / 0.9551 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.006167, allocations: 74.2 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006175, allocations: 192 / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.006186, allocations: 4.125 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006192, allocations: 4 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.006266, allocations: 35.97 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.006652, allocations: 248.5 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.838e-05/0.006741, allocations: 50.5 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.006786, allocations: 28.97 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.006808, allocations: 3.938 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.00692, allocations: 79.38 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.006922, allocations: 0 / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002828/0.007205, allocations: 141.6 kB / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.00724, allocations: 55.41 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.00732, allocations: 133.1 kB / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.007334, allocations: 29.7 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.007379, allocations: 88.14 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.007397, allocations: 23.83 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.007434, allocations: 29.7 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.007513, allocations: 314.8 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.007563, allocations: 23.98 kB / 0.9564 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.007622, allocations: 50.55 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.007722, allocations: 78.8 kB / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007724, allocations: 0 / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001497/0.007874, allocations: 129.4 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.00789, allocations: 4 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.007895, allocations: 0 / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.007908, allocations: 4 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.007966, allocations: 11.94 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.007973, allocations: 8.047 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.008004, allocations: 7.953 kB / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.008015, allocations: 8 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 7.286e-05/0.008088, allocations: 117.8 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.008098, allocations: 7.938 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.008123, allocations: 12.42 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.008126, allocations: 4 kB / 0.9569 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.008132, allocations: 3.938 kB / 0.9569 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.008135, allocations: 0 / 0.9569 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.008421, allocations: 322.1 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.008423, allocations: 3.938 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.008441, allocations: 4 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008443, allocations: 4 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008451, allocations: 3.984 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008453, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008454, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.00862, allocations: 219.4 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.008629, allocations: 7.891 kB / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.008643, allocations: 7.984 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.008684, allocations: 4 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.008719, allocations: 7.984 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.008727, allocations: 4 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.008766, allocations: 99.27 kB / 0.9575 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008766, allocations: 0 / 0.9575 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002181/0.008984, 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.0002997/0.009284, allocations: 184.3 kB / 0.9577 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.009448, allocations: 63.97 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009449, allocations: 3.938 kB / 0.9578 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/0.009505, allocations: 35.97 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.009699, allocations: 10.67 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.0003269/0.01003, allocations: 203.3 kB / 0.958 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.01007, allocations: 71.33 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.0101, allocations: 16.48 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.0101, allocations: 0 / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of Templates: time 0.002588/0.01269, 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.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.695615811273456]