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.00172/0.00172, allocations: 107 kB / 16.4 MB, free: 6.504 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.001997/0.001997, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.444/1.444, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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.597/2.597, allocations: 437.1 MB / 0.7171 GB, free: 4.051 MB / 0.5762 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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 1.027 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9493/0.9513, allocations: 151.6 MB / 1.175 GB, free: 17.47 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003028/0.9544, allocations: 1.504 MB / 1.176 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.9556, allocations: 0.7255 MB / 1.177 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.9557, allocations: 0 / 1.177 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.9558, allocations: 9.891 kB / 1.177 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.9558, allocations: 13.53 kB / 1.177 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.9565, allocations: 122 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.9567, allocations: 77.77 kB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.9568, allocations: 10.78 kB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.9569, allocations: 35.7 kB / 1.177 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.957, allocations: 49.48 kB / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.957, allocations: 6.781 kB / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.9572, allocations: 94.77 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.9573, allocations: 14.53 kB / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.9573, allocations: 35.59 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.9577, allocations: 141.5 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9577, allocations: 0 / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9577, allocations: 0 / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.9577, allocations: 0 / 1.177 GB, free: 15.67 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.0006563/0.9584, allocations: 428.7 kB / 1.178 GB, free: 15.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9584, allocations: 10.22 kB / 1.178 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.9585, allocations: 37.02 kB / 1.178 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.9585, allocations: 9.688 kB / 1.178 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.9586, allocations: 170.2 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.9586, allocations: 2.188 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.9587, allocations: 8.703 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.9589, allocations: 72.97 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.9589, allocations: 3.938 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.9589, allocations: 4.75 kB / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9589, allocations: 1.781 kB / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.959, allocations: 35.02 kB / 1.178 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.9596, allocations: 317.5 kB / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.9598, allocations: 58.34 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.9599, allocations: 32.34 kB / 1.179 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.9599, allocations: 1.312 kB / 1.179 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.9601, allocations: 72.38 kB / 1.179 GB, free: 14.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.9601, allocations: 1.312 kB / 1.179 GB, free: 14.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004123/0.9605, allocations: 141.6 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.9606, allocations: 57.36 kB / 1.179 GB, free: 14.39 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.9607, allocations: 118.8 kB / 1.179 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.9607, allocations: 31.38 kB / 1.179 GB, free: 14.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.9608, allocations: 100.2 kB / 1.179 GB, free: 14.15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.9608, allocations: 11.94 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.9608, allocations: 29.06 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.9609, allocations: 323.8 kB / 1.179 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.961, allocations: 31.05 kB / 1.179 GB, free: 13.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.9611, allocations: 56.3 kB / 1.179 GB, free: 13.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.9613, allocations: 82.45 kB / 1.18 GB, free: 13.69 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9613, allocations: 4 kB / 1.18 GB, free: 13.69 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002456/0.9615, allocations: 114.7 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9615, allocations: 5.438 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9616, allocations: 1.516 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.9616, allocations: 1.891 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.9617, allocations: 18.83 kB / 1.18 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9617, allocations: 6.734 kB / 1.18 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.9618, allocations: 9.031 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.9618, allocations: 7.984 kB / 1.18 GB, free: 13.61 MB / 0.92 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 6.932e-05/0.9618, allocations: 125.2 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.9619, allocations: 8.297 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.9619, allocations: 6.906 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9619, allocations: 0 / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9619, allocations: 1.938 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9619, allocations: 0 / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.9623, allocations: 390.6 kB / 1.18 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9623, allocations: 1.969 kB / 1.18 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.9624, allocations: 3.828 kB / 1.18 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9624, allocations: 1.75 kB / 1.18 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.9624, allocations: 1.312 kB / 1.18 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9624, allocations: 5.25 kB / 1.18 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9624, allocations: 0 / 1.18 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.9627, allocations: 212.5 kB / 1.18 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.9627, allocations: 83.47 kB / 1.181 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.9627, allocations: 2.672 kB / 1.181 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.9628, allocations: 8.312 kB / 1.181 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.9629, allocations: 3.359 kB / 1.181 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.9629, allocations: 11.66 kB / 1.181 GB, free: 12.86 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.9629, allocations: 96.55 kB / 1.181 GB, free: 12.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.9629, allocations: 0 / 1.181 GB, free: 12.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003349/0.9633, allocations: 41.89 kB / 1.181 GB, free: 12.76 MB / 0.92 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.0007525/0.964, allocations: 0.8083 MB / 1.181 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.9643, allocations: 80.5 kB / 1.182 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9643, allocations: 0 / 1.182 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.9644, allocations: 32.86 kB / 1.182 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.9647, allocations: 13.02 kB / 1.182 GB, free: 12.01 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.9661, allocations: 1.5 MB / 1.183 GB, free: 10.67 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.9662, allocations: 0.6878 MB / 1.184 GB, free: 9.973 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.9663, allocations: 13.38 kB / 1.184 GB, free: 9.965 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.9663, allocations: 21.36 kB / 1.184 GB, free: 9.949 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.9664, allocations: 0 / 1.184 GB, free: 9.949 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.9928, allocations: 2.647 MB / 1.186 GB, free: 9.461 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.373, allocations: 12.72 kB / 1.186 GB, free: 9.453 MB / 0.92 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 15.159008351154625]