Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001837/0.001837, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002313/0.002313, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.62/1.62, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 59.91 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8914, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003333/0.8948, allocations: 1.606 MB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.8964, allocations: 0.8022 MB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.8965, allocations: 0.8125 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.8966, allocations: 8.812 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.8966, allocations: 18 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.8974, allocations: 157.3 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.8976, allocations: 143.8 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.8977, allocations: 17.88 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.8978, allocations: 61.36 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.898, allocations: 70 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.898, allocations: 11.91 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.8983, allocations: 142.1 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.8984, allocations: 36.73 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.8984, allocations: 54.84 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.8988, allocations: 192.6 kB / 1.222 GB, free: 1.203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.8988, allocations: 0 / 1.222 GB, free: 1.203 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8988, allocations: 1.25 kB / 1.222 GB, free: 1.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.8988, allocations: 0 / 1.222 GB, free: 1.203 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008812/0.8997, allocations: 486.5 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.8997, allocations: 9.156 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.8998, allocations: 14.36 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.9, allocations: 189.3 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.9, allocations: 11.59 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.9, allocations: 8.531 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.9003, allocations: 96.08 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9003, allocations: 0 / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.9003, allocations: 5.062 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.9003, allocations: 5.109 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.9005, allocations: 65.23 kB / 1.223 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.9015, allocations: 370.4 kB / 1.223 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.9017, allocations: 60.66 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.9019, allocations: 50.44 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.9019, allocations: 5.266 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.9022, allocations: 102.4 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.9022, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006996/0.9029, allocations: 219 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.903, allocations: 53.66 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.9032, allocations: 149.9 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9033, allocations: 27.39 kB / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.9033, allocations: 104 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.9034, allocations: 20.09 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.9034, allocations: 31.48 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.9036, allocations: 325.2 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.9038, allocations: 50.62 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.9039, allocations: 70.27 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.9042, allocations: 117.5 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9042, allocations: 0.7812 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003572/0.9045, allocations: 158 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.9046, allocations: 5.188 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.9046, allocations: 2 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.9046, allocations: 5.188 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.9048, allocations: 25 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.9048, allocations: 6.062 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.9049, allocations: 9.672 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.9049, allocations: 4.312 kB / 1.224 GB, free: 14.73 MB / 0.9356 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 0.0001236/0.905, allocations: 132.3 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.905, allocations: 8.734 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.9051, allocations: 14.91 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9051, allocations: 1.469 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.9051, allocations: 4.719 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9051, allocations: 0 / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.9058, allocations: 457.5 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9058, allocations: 480 / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.9058, allocations: 13.42 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.9058, allocations: 5.094 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.9058, allocations: 13.36 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9058, allocations: 1.375 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9058, allocations: 3.938 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.9063, allocations: 262 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.9064, allocations: 91.25 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.9064, allocations: 6.172 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.9065, allocations: 8.562 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.9066, allocations: 6.172 kB / 1.225 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.9066, allocations: 11.27 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.446e-05/0.9067, allocations: 102.7 kB / 1.226 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9067, allocations: 0 / 1.226 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003541/0.907, allocations: 50.73 kB / 1.226 GB, free: 13.72 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: 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.0004317/0.9075, allocations: 180.3 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.9078, allocations: 107.6 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9078, allocations: 3.938 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.908, allocations: 52.41 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.9083, allocations: 22.47 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.9088, allocations: 228.7 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.9092, allocations: 0.6987 MB / 1.227 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.9093, allocations: 8.094 kB / 1.227 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.9093, allocations: 12.34 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9093, allocations: 0 / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.005825/0.9151, allocations: 2.027 MB / 1.229 GB, free: 11.55 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.021391028538346]