Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001326, allocations: 111.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 67.88 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2948, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00302/0.2979, allocations: 1.494 MB / 1.177 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.2994, allocations: 0.7323 MB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.2995, allocations: 0 / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.2995, allocations: 3.938 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.2996, allocations: 7.875 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.3003, allocations: 127.6 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.3005, allocations: 83.69 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3006, allocations: 15.94 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3007, allocations: 39.91 kB / 1.178 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.3008, allocations: 39.83 kB / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3008, allocations: 4 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.3011, allocations: 95.84 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.3011, allocations: 11.98 kB / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.3012, allocations: 35.8 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.3015, allocations: 143.5 kB / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3015, allocations: 4 kB / 1.179 GB, free: 3.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3015, allocations: 0 / 1.179 GB, free: 3.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.3015, allocations: 0 / 1.179 GB, free: 3.062 MB / 0.92 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.0007001/0.3022, allocations: 424.7 kB / 1.179 GB, free: 2.594 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3023, allocations: 8.031 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.3023, allocations: 8.891 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3025, allocations: 180.2 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3025, allocations: 12.36 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3025, allocations: 4.375 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3027, allocations: 73.95 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3028, allocations: 0 / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3028, allocations: 4 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3028, allocations: 0 / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3029, allocations: 39.97 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.3036, allocations: 312.7 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3038, allocations: 54.5 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.3039, allocations: 28.97 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.3039, allocations: 8.062 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.3042, allocations: 75.31 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.3042, allocations: 4 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004233/0.3046, allocations: 145.5 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3047, allocations: 51.41 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3048, allocations: 117.8 kB / 1.18 GB, free: 1.344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3048, allocations: 29.7 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3049, allocations: 96.08 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3049, allocations: 19.83 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.305, allocations: 33.7 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3051, allocations: 322.8 kB / 1.181 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.3052, allocations: 27.98 kB / 1.181 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/0.3053, allocations: 46.56 kB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3055, allocations: 74.48 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3055, allocations: 0 / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002568/0.3058, allocations: 109.5 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3058, allocations: 8 kB / 1.181 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3058, allocations: 0 / 1.181 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3058, allocations: 0 / 1.181 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.3059, allocations: 15.98 kB / 1.181 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3059, allocations: 4.062 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.306, allocations: 11.94 kB / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.306, allocations: 0 / 1.181 GB, free: 0.5117 MB / 0.92 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.000112/0.3061, allocations: 128.4 kB / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.3062, allocations: 3.953 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.3062, allocations: 12.38 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3062, allocations: 3.938 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3062, allocations: 0 / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3062, allocations: 0 / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.3068, allocations: 398.3 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3068, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.3069, allocations: 7.984 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.3069, allocations: 4 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3069, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3069, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3069, allocations: 7.938 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.3073, allocations: 204 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.3073, allocations: 89.05 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3073, allocations: 0 / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.3074, allocations: 4 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.3075, allocations: 19.8 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3075, allocations: 0 / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001219/0.3076, allocations: 95.27 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3076, allocations: 4 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003289/0.308, allocations: 35.94 kB / 1.182 GB, free: 15.42 MB / 0.9356 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.0003876/0.3084, allocations: 161.6 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3087, allocations: 71.89 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3087, allocations: 4.125 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3088, allocations: 43.91 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3091, allocations: 3.984 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3095, allocations: 209.8 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3099, allocations: 0.6885 MB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.31, allocations: 15.44 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.31, allocations: 0 / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.003959/0.314, allocations: 1.609 MB / 1.185 GB, free: 12.57 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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: 10.76663612399716]