Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001564/0.001564, allocations: 113.8 kB / 17.6 MB, free: 4.703 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.001702/0.001702, allocations: 190 kB / 20.78 MB, free: 1.543 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.554/1.554, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.89 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344/1.346, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002571/1.348, allocations: 1.512 MB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001247/1.35, allocations: 0.7496 MB / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/1.35, allocations: 3.938 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/1.35, allocations: 3.938 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/1.35, allocations: 14.58 kB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/1.35, allocations: 120 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/1.35, allocations: 78.05 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/1.351, allocations: 10.22 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/1.351, allocations: 39.27 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/1.351, allocations: 36.31 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/1.351, allocations: 5.969 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/1.351, allocations: 107 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/1.351, allocations: 18.12 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/1.351, allocations: 35.52 kB / 1.308 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/1.351, allocations: 139.8 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.351, allocations: 0 / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.724e-06/1.351, allocations: 0 / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.565e-06/1.351, allocations: 2.688 kB / 1.308 GB, free: 31.59 MB / 1.061 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.0005842/1.352, allocations: 422.9 kB / 1.309 GB, free: 31.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/1.352, allocations: 11.09 kB / 1.309 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/1.352, allocations: 11.39 kB / 1.309 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.813e-05/1.352, allocations: 175.3 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/1.352, allocations: 7.25 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/1.352, allocations: 3.062 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/1.352, allocations: 72.23 kB / 1.309 GB, free: 30.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.352, allocations: 4 kB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.352, allocations: 4 kB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.352, allocations: 0 / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/1.352, allocations: 35.05 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/1.353, allocations: 318.8 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/1.353, allocations: 47.19 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/1.353, allocations: 30.31 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/1.353, allocations: 0 / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/1.353, allocations: 78.73 kB / 1.309 GB, free: 30.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/1.353, allocations: 0 / 1.309 GB, free: 30.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003669/1.354, allocations: 146 kB / 1.31 GB, free: 30.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/1.354, allocations: 65.61 kB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/1.354, allocations: 119.6 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.354, allocations: 29.03 kB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/1.354, allocations: 87.2 kB / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/1.354, allocations: 14.91 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.354, allocations: 29.67 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.102e-05/1.354, allocations: 325.3 kB / 1.31 GB, free: 29.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/1.354, allocations: 29.84 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/1.354, allocations: 46.23 kB / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.354, allocations: 74.66 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.354, allocations: 4 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001978/1.354, allocations: 114.1 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.354, allocations: 9.172 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.354, allocations: 0 / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.354, allocations: 2.969 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/1.355, allocations: 9.484 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/1.355, allocations: 2.688 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/1.355, allocations: 14.88 kB / 1.31 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/1.355, allocations: 3.031 kB / 1.31 GB, free: 29.59 MB / 1.061 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 6.814e-05/1.355, allocations: 126.3 kB / 1.311 GB, free: 29.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/1.355, allocations: 6.984 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/1.355, allocations: 11 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.355, allocations: 0 / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.355, allocations: 0 / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.355, allocations: 2.781 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/1.355, allocations: 389.6 kB / 1.311 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.355, allocations: 0 / 1.311 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/1.355, allocations: 9.938 kB / 1.311 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.355, allocations: 0 / 1.311 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.355, allocations: 11.45 kB / 1.311 GB, free: 29.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.355, allocations: 0 / 1.311 GB, free: 29.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.355, allocations: 6.812 kB / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/1.355, allocations: 200.9 kB / 1.311 GB, free: 28.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/1.355, allocations: 83.62 kB / 1.311 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/1.355, allocations: 3.375 kB / 1.311 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/1.355, allocations: 7 kB / 1.311 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/1.356, allocations: 13.98 kB / 1.311 GB, free: 28.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/1.356, allocations: 2.938 kB / 1.311 GB, free: 28.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.695e-05/1.356, allocations: 92.25 kB / 1.311 GB, free: 28.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.356, allocations: 0 / 1.311 GB, free: 28.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002915/1.356, allocations: 39 kB / 1.311 GB, free: 28.75 MB / 1.061 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.000363/1.356, allocations: 173 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002303/1.356, allocations: 65.12 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.356, allocations: 0 / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/1.357, allocations: 31.09 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/1.357, allocations: 14.47 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/1.357, allocations: 196.7 kB / 1.312 GB, free: 28.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/1.357, allocations: 0.6905 MB / 1.313 GB, free: 27.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.336e-05/1.357, allocations: 2.969 kB / 1.313 GB, free: 27.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/1.357, allocations: 17.58 kB / 1.313 GB, free: 27.73 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.357, allocations: 0 / 1.313 GB, free: 27.73 MB / 1.061 GB Notification: Performance of Templates: time 0.004252/1.362, allocations: 1.473 MB / 1.314 GB, free: 27.58 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.34527328144759]