Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 216.6 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 65.91 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4236, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003023/0.4266, allocations: 1.519 MB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4282, allocations: 0.7536 MB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.4283, allocations: 3.938 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.4283, allocations: 3.938 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.4284, allocations: 15.86 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.429, allocations: 143.6 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.4292, allocations: 79.7 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4293, allocations: 12.12 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.4294, allocations: 39.91 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.4295, allocations: 43.83 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4295, allocations: 4 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.4298, allocations: 139.7 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.4298, allocations: 15.98 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.4299, allocations: 27.84 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.4302, allocations: 147.5 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4302, allocations: 3.938 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4302, allocations: 4 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4302, allocations: 3.938 kB / 1.286 GB, free: 8.969 MB / 0.9825 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.0007355/0.4309, allocations: 351.5 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4309, allocations: 8.031 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.4313, allocations: 32.86 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.4316, allocations: 130.4 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4316, allocations: 8.375 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.4316, allocations: 384 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4318, allocations: 69.59 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4318, allocations: 0 / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4318, allocations: 7.984 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4319, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.432, allocations: 43.91 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.4326, allocations: 248.4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.4327, allocations: 42.56 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.4328, allocations: 28.97 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4329, allocations: 4 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.433, allocations: 87.3 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.433, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.00043/0.4335, allocations: 141.6 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.4335, allocations: 59.41 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4337, allocations: 120.3 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.4337, allocations: 25.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.4338, allocations: 100.1 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.4338, allocations: 15.84 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.4338, allocations: 33.7 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.434, allocations: 322.8 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.4341, allocations: 27.98 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.4342, allocations: 54.44 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.4343, allocations: 70.55 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4343, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002494/0.4346, allocations: 113.5 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4346, allocations: 4 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4346, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4346, allocations: 4 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.4347, allocations: 19.92 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4347, allocations: 0 / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.4348, allocations: 4 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.4348, allocations: 4 kB / 1.288 GB, free: 6.629 MB / 0.9825 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.0001173/0.4349, allocations: 125.8 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.4349, allocations: 7.953 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.435, allocations: 16.3 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.435, allocations: 4 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.435, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.435, allocations: 4 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.4355, allocations: 322.1 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4355, allocations: 4 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.4355, allocations: 3.984 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4355, allocations: 8 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4355, allocations: 4 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4355, allocations: 0 / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4355, allocations: 0 / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.4358, allocations: 223.3 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.4359, allocations: 11.89 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4359, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.436, allocations: 4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.436, allocations: 11.92 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.436, allocations: 3.938 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.478e-05/0.4361, allocations: 103.3 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4361, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002933/0.4364, allocations: 39.92 kB / 1.289 GB, free: 5.684 MB / 0.9825 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.0004024/0.4368, allocations: 167.3 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.437, allocations: 75.95 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.437, allocations: 0 / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.4371, allocations: 27.98 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.4374, allocations: 11.12 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.4378, allocations: 184.7 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.4379, allocations: 83.2 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.4379, allocations: 8.062 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.438, allocations: 15.44 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.438, allocations: 0 / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.00494/0.4429, allocations: 1.513 MB / 1.291 GB, free: 3.59 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.continuous,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.304760698229074]