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.001813/0.001813, allocations: 110 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.001474/0.001474, allocations: 192.3 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.512/1.512, 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.682/2.682, allocations: 443.5 MB / 0.7321 GB, free: 12.24 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.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.002169/0.002169, allocations: 63.89 kB / 1.061 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8869/0.889, allocations: 160.8 MB / 1.218 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002873/0.8919, allocations: 1.518 MB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.8934, allocations: 0.7437 MB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.8935, allocations: 1.25 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.8935, allocations: 3.938 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.8936, allocations: 16.88 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.8942, allocations: 132.2 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.8944, allocations: 81.61 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8945, allocations: 7.969 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.8946, allocations: 42.83 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.8947, allocations: 35.72 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.8947, allocations: 6.25 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.895, allocations: 137.2 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.895, allocations: 14.39 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/0.8951, allocations: 35.64 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.8954, allocations: 140.4 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8954, allocations: 1.125 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8954, allocations: 0 / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8954, allocations: 0 / 1.221 GB, free: 1.449 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.000778/0.8962, allocations: 427.6 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8962, allocations: 9.531 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.8963, allocations: 9.109 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.8964, allocations: 175.2 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.8965, allocations: 7.75 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.8965, allocations: 3.281 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.8967, allocations: 72.62 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.8967, allocations: 3.984 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.8967, allocations: 4.875 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8967, allocations: 0.8438 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.8968, allocations: 36.95 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.8975, allocations: 321.1 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.8976, allocations: 47.25 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.8977, allocations: 29.75 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.8978, allocations: 1.094 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.898, allocations: 81.72 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.898, allocations: 0 / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003899/0.8984, allocations: 136.5 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.8984, allocations: 65.52 kB / 1.223 GB, free: 96 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.8985, allocations: 116.4 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.8986, allocations: 26.8 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.8986, allocations: 94.58 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.8987, allocations: 15.59 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.8987, allocations: 29.11 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.8989, allocations: 320.8 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.899, allocations: 31.62 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.8991, allocations: 44.16 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.8992, allocations: 81.44 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8992, allocations: 5.031 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002445/0.8995, allocations: 116.8 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8995, allocations: 5.938 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8995, allocations: 0 / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8995, allocations: 2.062 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.8996, allocations: 11.92 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.8996, allocations: 5.906 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.8997, allocations: 11.09 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.8997, allocations: 3.156 kB / 1.224 GB, free: 15.3 MB / 0.9356 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.0001196/0.8998, allocations: 127.5 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.8998, allocations: 10.11 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.8999, allocations: 14.61 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8999, allocations: 1.031 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8999, allocations: 0 / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8999, allocations: 0 / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.9004, allocations: 383.3 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9004, allocations: 4 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.9004, allocations: 3.219 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.9004, allocations: 1 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9004, allocations: 9.078 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9004, allocations: 1.125 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9004, allocations: 3.938 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.9007, allocations: 198.1 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.9008, allocations: 86.16 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.9008, allocations: 5.047 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.9009, allocations: 11.28 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.9009, allocations: 18.03 kB / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.9009, allocations: 2.188 kB / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.901, allocations: 97.08 kB / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.901, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000313/0.9013, allocations: 35.78 kB / 1.225 GB, free: 14.38 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.0003923/0.9017, allocations: 167.8 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.902, allocations: 72.12 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.902, allocations: 0 / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.9021, allocations: 34.53 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.9023, allocations: 19.7 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.9028, allocations: 189.9 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.9031, allocations: 0.6887 MB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.9032, allocations: 3.125 kB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.9032, allocations: 15.08 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.9032, allocations: 4 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.004883/0.9081, allocations: 1.474 MB / 1.227 GB, free: 12.56 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.002242835238576]