Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001404/0.001404, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001364/0.001364, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.635/2.635, allocations: 443.5 MB / 0.7287 GB, free: 14.54 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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.83 kB / 1.056 GB, free: 2.516 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3477, allocations: 160.7 MB / 1.213 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003586/0.3513, allocations: 1.509 MB / 1.214 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3529, allocations: 0.7448 MB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.353, allocations: 3.938 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.3531, allocations: 3.938 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.3531, allocations: 11.86 kB / 1.215 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.3539, allocations: 127.6 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.354, allocations: 67.78 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3541, allocations: 12.27 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3542, allocations: 39.91 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.3543, allocations: 43.83 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3544, allocations: 4 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.3546, allocations: 103.8 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.3546, allocations: 15.98 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.3547, allocations: 27.86 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.355, allocations: 155.4 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.355, allocations: 4 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.334e-06/0.355, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.355, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 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.0007553/0.3558, allocations: 424.7 kB / 1.216 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3558, allocations: 8.031 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.3559, allocations: 30.75 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3559, allocations: 8.891 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.356, allocations: 180.2 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.3561, allocations: 8.375 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3561, allocations: 4.375 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3563, allocations: 69.78 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3563, allocations: 3.938 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3563, allocations: 8 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3563, allocations: 3.938 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3565, allocations: 35.97 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.3571, allocations: 308.8 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.3573, allocations: 46.56 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.3574, allocations: 28.97 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3574, allocations: 3.984 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.3576, allocations: 75.41 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3576, allocations: 0 / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.00044/0.3581, allocations: 145.6 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3581, allocations: 59.41 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3583, allocations: 121.7 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3583, allocations: 29.7 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.3584, allocations: 92.12 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.3584, allocations: 15.84 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.3585, allocations: 33.64 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3586, allocations: 326.8 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.3587, allocations: 23.98 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3588, allocations: 50.94 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.359, allocations: 70.55 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.359, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000265/0.3592, allocations: 117.5 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3593, allocations: 11.94 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3593, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3593, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3594, allocations: 11.98 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3594, allocations: 4 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.3595, allocations: 8 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3595, allocations: 0 / 1.218 GB, free: 12.02 MB / 0.9669 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.0001124/0.3596, allocations: 129.8 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.3596, allocations: 7.953 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.3597, allocations: 8.375 kB / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3597, allocations: 0 / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3597, allocations: 3.938 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3597, allocations: 4 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.3602, allocations: 382.4 kB / 1.218 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3602, allocations: 8 kB / 1.218 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.3603, allocations: 11.92 kB / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3603, allocations: 4 kB / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3603, allocations: 0 / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.3603, allocations: 3.938 kB / 1.218 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3603, allocations: 3.938 kB / 1.218 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.3606, allocations: 215.9 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.3607, allocations: 85.06 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3607, allocations: 0 / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.3608, allocations: 11.94 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.3608, allocations: 7.984 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3608, allocations: 0 / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.3609, allocations: 95.27 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3609, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003269/0.3612, allocations: 39.92 kB / 1.219 GB, free: 10.92 MB / 0.9669 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.001041/0.3623, allocations: 0.7952 MB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3625, allocations: 79.88 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3625, allocations: 0 / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3626, allocations: 31.98 kB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3629, allocations: 11.86 kB / 1.22 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3648, allocations: 1.489 MB / 1.221 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3651, allocations: 0.6846 MB / 1.222 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.3651, allocations: 7.984 kB / 1.222 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.3652, allocations: 19.44 kB / 1.222 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3652, allocations: 0 / 1.222 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.3933, allocations: 2.682 MB / 1.225 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.571, allocations: 7.406 kB / 1.225 GB, free: 5.133 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 14.543672140222043]