Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001368/0.001368, 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.001533/0.001533, allocations: 186.2 kB / 22.22 MB, free: 5.105 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.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.25 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.615/2.615, allocations: 443.4 MB / 0.7321 GB, free: 12.3 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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 75.88 kB / 1.061 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8615/0.8636, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003692/0.8672, allocations: 1.523 MB / 1.22 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.869, allocations: 0.7513 MB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.8691, allocations: 1.438 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.8691, allocations: 3.938 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.8692, allocations: 9.062 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.8699, allocations: 139.9 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.87, allocations: 78.2 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.8701, allocations: 8.062 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.8702, allocations: 39.05 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.8703, allocations: 35.44 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.8703, allocations: 5.781 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.8706, allocations: 137.7 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.8707, allocations: 14.28 kB / 1.221 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.8707, allocations: 35.17 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.8711, allocations: 144.4 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8711, allocations: 1.094 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8711, allocations: 0 / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.8711, allocations: 0 / 1.221 GB, free: 1.613 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.0009307/0.872, allocations: 427.6 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.8721, allocations: 9.562 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.8722, allocations: 9.172 kB / 1.222 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.8723, allocations: 171.3 kB / 1.222 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.8724, allocations: 3.438 kB / 1.222 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.8724, allocations: 7.719 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.8726, allocations: 80.16 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.8726, allocations: 1.094 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.8727, allocations: 3.984 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8727, allocations: 1 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.8728, allocations: 32.73 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.8736, allocations: 326 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.8737, allocations: 41.84 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.8738, allocations: 30.69 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.8738, allocations: 1.031 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.874, allocations: 80.91 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.874, allocations: 0 / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.00044/0.8745, allocations: 145.1 kB / 1.223 GB, free: 336 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.8745, allocations: 52.91 kB / 1.223 GB, free: 272 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.8747, allocations: 121.2 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.8747, allocations: 30.73 kB / 1.223 GB, free: 120 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.8748, allocations: 94.59 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.8748, allocations: 18.36 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.8749, allocations: 29.89 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.875, allocations: 320.8 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.8751, allocations: 26.58 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.8752, allocations: 48.45 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.8754, allocations: 77.86 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8754, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002606/0.8757, allocations: 113.4 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.8757, allocations: 5.5 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8757, allocations: 0.6875 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.8757, allocations: 1.844 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.8758, allocations: 24.66 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.8758, allocations: 4.984 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.8759, allocations: 8 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.8759, allocations: 3.156 kB / 1.224 GB, free: 15.46 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.0001141/0.876, allocations: 118 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.8761, allocations: 11.22 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.8761, allocations: 14.14 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8761, allocations: 5.031 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8761, allocations: 4 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8761, allocations: 1.125 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.8766, allocations: 382.7 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8766, allocations: 0 / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.8767, allocations: 3.875 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8767, allocations: 0 / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.8767, allocations: 5.922 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8767, allocations: 0 / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8767, allocations: 5.062 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.877, allocations: 209.5 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.8771, allocations: 86.97 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.8771, allocations: 5.047 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.8772, allocations: 3.281 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.8773, allocations: 10.08 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.8773, allocations: 2.438 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.936e-05/0.8773, allocations: 96.58 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8773, allocations: 0 / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003308/0.8777, allocations: 35.38 kB / 1.224 GB, free: 14.55 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.0004514/0.8781, allocations: 171.8 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.8784, allocations: 72.83 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8784, allocations: 0 / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.8785, allocations: 33.92 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.8788, allocations: 11.23 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.8793, allocations: 194.9 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.8796, allocations: 0.6918 MB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.8797, allocations: 3.219 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.8797, allocations: 10.72 kB / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8797, allocations: 0.8438 kB / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.005534/0.8852, allocations: 1.496 MB / 1.227 GB, free: 12.72 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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: 8.881615720689297]