Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.0009157/0.0009157, allocations: 76.5 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.0009307/0.0009307, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8785/0.8785, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.607/1.607, 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.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.077e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003068/0.003099, allocations: 1.486 MB / 0.9531 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.004535, allocations: 0.7716 MB / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.004605, allocations: 0 / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.00464, allocations: 3.938 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.004706, allocations: 19.86 kB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.00544, allocations: 151.3 kB / 0.9541 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.005589, allocations: 75.78 kB / 0.9541 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.005693, allocations: 12.11 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.005868, allocations: 51.89 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.005947, allocations: 35.88 kB / 0.9542 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.005968, allocations: 4 kB / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.006264, allocations: 143.7 kB / 0.9544 GB, free: 276 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.006288, allocations: 11.98 kB / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.006333, allocations: 31.91 kB / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.006639, allocations: 171.5 kB / 0.9546 GB, free: 60 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.006642, allocations: 0 / 0.9546 GB, free: 60 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.392e-06/0.006644, allocations: 0 / 0.9546 GB, free: 60 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.006649, allocations: 3.938 kB / 0.9546 GB, free: 56 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.000649/0.007298, allocations: 347.7 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.007345, allocations: 8.031 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.007654, allocations: 28.88 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.007909, allocations: 134.3 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.00794, allocations: 12.31 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.007958, allocations: 4.375 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.008146, allocations: 62.22 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008156, allocations: 192 / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.008172, allocations: 12.06 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.00818, allocations: 4 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.008292, allocations: 35.97 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.008834, allocations: 248.5 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.008957, allocations: 50.48 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.009026, allocations: 28.97 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.009054, allocations: 7.938 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.009201, allocations: 75.38 kB / 0.9556 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.009203, allocations: 0 / 0.9556 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003842/0.009587, allocations: 137.6 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.009642, allocations: 59.41 kB / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.009749, allocations: 129.3 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.009766, allocations: 25.7 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.009822, allocations: 96.2 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.009845, allocations: 19.83 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.009896, allocations: 25.72 kB / 0.9561 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01, allocations: 318.8 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.01007, allocations: 27.98 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.01015, allocations: 54.55 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.0103, allocations: 74.8 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.0103, allocations: 4 kB / 0.9565 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002192/0.01052, allocations: 113.5 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.01054, allocations: 4 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01054, allocations: 0 / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.01057, allocations: 16.03 kB / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.01065, allocations: 12 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01066, allocations: 0 / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.01071, allocations: 11.94 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01072, allocations: 7.938 kB / 0.9567 GB, free: 13.7 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 9.486e-05/0.01082, allocations: 117.8 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.01083, allocations: 7.938 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.01086, allocations: 12.42 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01087, allocations: 4 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.01087, allocations: 7.938 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01088, allocations: 0 / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.0113, allocations: 326 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.0113, allocations: 4 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.01133, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01134, allocations: 4 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.01135, allocations: 7.984 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01135, allocations: 0 / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01135, allocations: 0 / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.0116, allocations: 215.4 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.01161, allocations: 3.953 kB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.01164, allocations: 8 kB / 0.9574 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.01171, allocations: 3.984 kB / 0.9574 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.01176, allocations: 7.984 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01176, allocations: 0 / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.01182, allocations: 99.2 kB / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01182, allocations: 0 / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003456/0.01216, allocations: 39.88 kB / 0.9575 GB, free: 12.79 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.000393/0.01256, allocations: 173.8 kB / 0.9577 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.01277, allocations: 71.88 kB / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01277, allocations: 3.938 kB / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.01285, allocations: 31.98 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.01317, allocations: 17.16 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.01363, allocations: 199.1 kB / 0.958 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.01369, allocations: 75.27 kB / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.01373, allocations: 16.5 kB / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of SimCode: time 5.1e-07/0.01373, allocations: 0 / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of Templates: time 0.003646/0.01737, allocations: 1.684 MB / 0.9597 GB, free: 10.49 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.825612688437104]