Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.0007796/0.0007796, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0007867/0.0007867, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.8834/0.8834, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.602/1.602, allocations: 359 MB / 0.6044 GB, free: 11.1 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.698e-05, allocations: 5.656 kB / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002197/0.002224, allocations: 1.599 MB / 0.9533 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003249, allocations: 0.8223 MB / 0.9541 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.003305, allocations: 0 / 0.9541 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.003336, allocations: 7.875 kB / 0.9541 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.00339, allocations: 27.72 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.00393, allocations: 175.3 kB / 0.9543 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.004066, allocations: 147.5 kB / 0.9544 GB, free: 240 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.00416, allocations: 13.58 kB / 0.9544 GB, free: 220 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004309, allocations: 83.86 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.004378, allocations: 55.84 kB / 0.9546 GB, free: 80 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.004399, allocations: 12 kB / 0.9546 GB, free: 68 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.004611, allocations: 151.6 kB / 0.9547 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.004639, allocations: 35.88 kB / 0.9548 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.004683, allocations: 39.89 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.004931, allocations: 227.3 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.004935, allocations: 4 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.402e-06/0.004937, allocations: 4 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.004941, allocations: 3.938 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005417/0.005483, allocations: 413 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005517, allocations: 8.031 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.00585, allocations: 72.83 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.006043, allocations: 145.5 kB / 0.9556 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.006067, allocations: 12.36 kB / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.006083, allocations: 4.375 kB / 0.9556 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.006251, allocations: 98.12 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006259, allocations: 192 / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.006274, allocations: 8.375 kB / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.006279, allocations: 3.938 kB / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.00639, allocations: 59.95 kB / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.006886, allocations: 304.3 kB / 0.9561 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.007002, allocations: 58.55 kB / 0.9562 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.007076, allocations: 48.83 kB / 0.9562 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.007099, allocations: 11.94 kB / 0.9562 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.007238, allocations: 103.3 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.00724, allocations: 0 / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003896/0.00763, allocations: 221.4 kB / 0.9565 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.007664, allocations: 51.41 kB / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.007764, allocations: 149.2 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.00778, allocations: 29.7 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.00783, allocations: 100.4 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.007854, allocations: 27.78 kB / 0.9569 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.007896, allocations: 29.7 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.007976, allocations: 322.8 kB / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.008044, allocations: 39.97 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.008123, allocations: 75.27 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.008261, allocations: 116.6 kB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008263, allocations: 0 / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001947/0.008458, allocations: 165.3 kB / 0.9576 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.00847, allocations: 8 kB / 0.9576 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008475, allocations: 3.938 kB / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.008491, allocations: 4 kB / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.00857, allocations: 24.02 kB / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.008575, allocations: 112 / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.008624, allocations: 15.92 kB / 0.9576 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.008635, allocations: 8 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.24e-05/0.008708, allocations: 120.5 kB / 0.9578 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.008723, allocations: 19.83 kB / 0.9578 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.008746, allocations: 12.77 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008748, allocations: 4 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.008752, allocations: 0 / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008755, allocations: 4 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.009139, allocations: 414 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009141, allocations: 0 / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.009171, allocations: 12.05 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009173, allocations: 0 / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.009182, allocations: 4 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009184, allocations: 0 / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009185, allocations: 0 / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.009435, allocations: 283.2 kB / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.009446, allocations: 11.95 kB / 0.9585 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.009463, allocations: 4 kB / 0.9585 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.009522, allocations: 7.984 kB / 0.9585 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.009564, allocations: 3.984 kB / 0.9585 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.009574, allocations: 8 kB / 0.9585 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.009624, allocations: 114.3 kB / 0.9586 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009624, allocations: 0 / 0.9586 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002235/0.009848, allocations: 39.94 kB / 0.9587 GB, free: 11.61 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003115/0.01016, allocations: 170.9 kB / 0.9588 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.01037, allocations: 111.8 kB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01037, allocations: 0 / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.01045, allocations: 56.14 kB / 0.959 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.01065, allocations: 22.05 kB / 0.959 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.01101, allocations: 250.9 kB / 0.9592 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.195e-05/0.01107, allocations: 80.33 kB / 0.9593 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.0111, allocations: 20.48 kB / 0.9593 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.0111, allocations: 4 kB / 0.9593 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of Templates: time 0.002942/0.01404, allocations: 2.16 MB / 0.9614 GB, free: 8.711 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.515729820355773]