Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001866/0.001866, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002769/0.002769, allocations: 190.2 kB / 22.23 MB, free: 5.102 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.23 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.714/2.714, allocations: 443.4 MB / 0.7321 GB, free: 12.26 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9889/0.9909, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00321/0.9941, allocations: 1.522 MB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.9957, allocations: 0.7429 MB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.9957, allocations: 5.125 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.9958, allocations: 3.938 kB / 1.221 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.9958, allocations: 12.95 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.9965, allocations: 131.8 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.9966, allocations: 82.67 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.9967, allocations: 7.5 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.9968, allocations: 35.38 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.9969, allocations: 39.45 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.9969, allocations: 10.16 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.9973, allocations: 133.8 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.9973, allocations: 17.97 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.9974, allocations: 36.2 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.9977, allocations: 140.9 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.9977, allocations: 3.984 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9977, allocations: 0 / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.9977, allocations: 0 / 1.221 GB, free: 1.512 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.000816/0.9985, allocations: 420.2 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.9985, allocations: 12.88 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.9986, allocations: 13.17 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.9988, allocations: 175.6 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.9988, allocations: 3.031 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.9988, allocations: 3.594 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.999, allocations: 76.23 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.999, allocations: 5.078 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.9991, allocations: 0 / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.9991, allocations: 1.125 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.9992, allocations: 40.59 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.9999, allocations: 316.9 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/1, allocations: 42.72 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/1, allocations: 30.73 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/1, allocations: 8 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/1, allocations: 77.77 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/1, allocations: 3.938 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000416/1.001, allocations: 144.4 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/1.001, allocations: 53.56 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/1.001, allocations: 124.7 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/1.001, allocations: 26.8 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/1.001, allocations: 95.31 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/1.001, allocations: 13.97 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/1.001, allocations: 29.98 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.001, allocations: 325.1 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/1.001, allocations: 22.64 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/1.002, allocations: 65.31 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/1.002, allocations: 74.67 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.002, allocations: 1.281 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002654/1.002, allocations: 129.6 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.002, allocations: 4.875 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.002, allocations: 1.031 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.002, allocations: 2.188 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/1.002, allocations: 11.67 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.002, allocations: 2.062 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/1.002, allocations: 8.344 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/1.002, allocations: 3.25 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001268/1.002, allocations: 140.4 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/1.002, allocations: 7.234 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/1.003, allocations: 10.52 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/1.003, allocations: 1.219 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.003, allocations: 0 / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.003, allocations: 3.938 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/1.003, allocations: 383.2 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.003, allocations: 0 / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/1.003, allocations: 7.281 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.003, allocations: 5 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/1.003, allocations: 5.203 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.003, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.003, allocations: 4.906 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/1.003, allocations: 201 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/1.004, allocations: 84.19 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.004, allocations: 7.984 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/1.004, allocations: 3.312 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/1.004, allocations: 10.27 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/1.004, allocations: 2.297 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.441e-05/1.004, allocations: 96.17 kB / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.004, allocations: 0 / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003209/1.004, allocations: 36.34 kB / 1.225 GB, free: 14.43 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,occ.y,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.0003941/1.004, allocations: 167.8 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002598/1.005, allocations: 71.92 kB / 1.225 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.005, allocations: 0 / 1.225 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/1.005, allocations: 35.22 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/1.005, allocations: 16.05 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/1.006, allocations: 194.5 kB / 1.225 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/1.006, allocations: 0.6881 MB / 1.226 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.748e-05/1.006, allocations: 7.297 kB / 1.226 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/1.006, allocations: 18.67 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/1.006, allocations: 1.094 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.005272/1.011, allocations: 1.492 MB / 1.227 GB, free: 12.59 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.099373660050333]