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.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.001228/0.001228, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001389/0.001389, allocations: 192.6 kB / 22.17 MB, free: 5.652 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.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.89 kB / 1.109 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8874/0.8894, allocations: 168.7 MB / 1.274 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003253/0.8927, allocations: 1.519 MB / 1.276 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.8942, allocations: 0.7417 MB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.8942, allocations: 4 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.8943, allocations: 7.875 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.8943, allocations: 3.938 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.8949, allocations: 123.6 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.8951, allocations: 87.69 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.8952, allocations: 11.95 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.8952, allocations: 31.91 kB / 1.277 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.8953, allocations: 39.83 kB / 1.277 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.8953, allocations: 8 kB / 1.277 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.8955, allocations: 103.8 kB / 1.277 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.8956, allocations: 15.98 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.8956, allocations: 39.78 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.8959, allocations: 142.2 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8959, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8959, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8959, allocations: 0 / 1.277 GB, free: 1.773 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.0007242/0.8966, allocations: 420.7 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.8966, allocations: 12.03 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.8967, allocations: 8.891 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.8968, allocations: 176.3 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.8969, allocations: 8.375 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.8969, allocations: 384 / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.8971, allocations: 69.97 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.8971, allocations: 0 / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8971, allocations: 0 / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.8971, allocations: 7.938 kB / 1.278 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.8972, allocations: 47.91 kB / 1.278 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.8979, allocations: 308.8 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.898, allocations: 42.56 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.8981, allocations: 28.97 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.8981, allocations: 7.984 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.8983, allocations: 75.33 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.8983, allocations: 0 / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004124/0.8987, allocations: 141.6 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.8988, allocations: 55.34 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.8989, allocations: 137.6 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.8989, allocations: 29.7 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.899, allocations: 92.12 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.899, allocations: 19.97 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.8991, allocations: 29.7 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8993, allocations: 318.8 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.8993, allocations: 27.98 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.8995, allocations: 50.5 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.8996, allocations: 74.84 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8996, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000257/0.8999, allocations: 113.5 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8999, allocations: 10.09 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8999, allocations: 4 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8999, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.9, allocations: 15.92 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.9001, allocations: 0 / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.9001, allocations: 4 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.9001, allocations: 8 kB / 1.279 GB, free: 15.23 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.0001076/0.9002, allocations: 126.8 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.9003, allocations: 11.95 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.9003, allocations: 16.38 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.9003, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.9003, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.9003, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.9008, allocations: 386.3 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9008, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.9009, allocations: 7.984 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.9009, allocations: 7.984 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.9009, allocations: 4 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9009, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9009, allocations: 3.938 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.9012, allocations: 207.4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.9012, allocations: 89 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.9013, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.9014, allocations: 8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.9014, allocations: 11.92 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.9014, allocations: 4 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.261e-05/0.9015, allocations: 91.27 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9015, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003074/0.9018, allocations: 39.92 kB / 1.28 GB, free: 14.13 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.0003918/0.9022, allocations: 159.1 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.9024, allocations: 72.12 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9024, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.68e-05/0.9025, allocations: 32.12 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.9028, allocations: 8.094 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.9032, allocations: 207.6 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.9037, allocations: 0.6923 MB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.9037, allocations: 4 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.9037, allocations: 19.36 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9037, allocations: 0 / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.004715/0.9085, allocations: 1.475 MB / 1.283 GB, free: 11.43 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.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.702613546978682]