Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007173/0.007173, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001515, allocations: 194.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.91 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8902, allocations: 159.9 MB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002554/0.8928, allocations: 1.5 MB / 1.227 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.8941, allocations: 0.7294 MB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.8942, allocations: 4 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.8942, allocations: 3.938 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.8943, allocations: 15.86 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.8949, allocations: 123.6 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.895, allocations: 71.83 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.8952, allocations: 19.94 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.8953, allocations: 31.86 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.8953, allocations: 39.83 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.8954, allocations: 8 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.8956, allocations: 99.84 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.8956, allocations: 23.91 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.8956, allocations: 27.86 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.8959, allocations: 144.5 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8959, allocations: 0 / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8959, allocations: 0 / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.8959, allocations: 0 / 1.228 GB, free: 10.84 MB / 0.9512 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.0006552/0.8966, allocations: 419.5 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.8966, allocations: 12.03 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.8967, allocations: 8.891 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8968, allocations: 180.2 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.8968, allocations: 384 / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.8969, allocations: 16.3 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.8971, allocations: 77.89 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8971, allocations: 0 / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8971, allocations: 0 / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.8971, allocations: 0 / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.8973, allocations: 39.97 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.8979, allocations: 316.8 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.898, allocations: 50.48 kB / 1.229 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.8981, allocations: 32.97 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.8981, allocations: 4 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.8983, allocations: 79.38 kB / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.8983, allocations: 0 / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003993/0.8987, allocations: 133.5 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.8988, allocations: 59.41 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.8989, allocations: 137.7 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.8989, allocations: 25.7 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.899, allocations: 92.14 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.899, allocations: 11.97 kB / 1.23 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.8991, allocations: 29.7 kB / 1.23 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8992, allocations: 326.8 kB / 1.23 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.8993, allocations: 23.98 kB / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.8994, allocations: 50.55 kB / 1.23 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8995, allocations: 78.44 kB / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8995, allocations: 0 / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002325/0.8998, allocations: 109.5 kB / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8998, allocations: 8.062 kB / 1.231 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8998, allocations: 0 / 1.231 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8998, allocations: 4 kB / 1.231 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.8999, allocations: 11.98 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.8999, allocations: 0 / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.9, allocations: 8 kB / 1.231 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.9, allocations: 7.984 kB / 1.231 GB, free: 8.293 MB / 0.9512 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 9.391e-05/0.9001, allocations: 129.2 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.9002, allocations: 11.95 kB / 1.231 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.9002, allocations: 8.375 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.9002, allocations: 4 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.9002, allocations: 0 / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9002, allocations: 0 / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.9007, allocations: 378.4 kB / 1.231 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9007, allocations: 3.938 kB / 1.231 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.9007, allocations: 15.98 kB / 1.231 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9008, allocations: 4 kB / 1.231 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.9008, allocations: 3.938 kB / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9008, allocations: 0 / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9008, allocations: 7.938 kB / 1.231 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.9011, allocations: 200 kB / 1.231 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.9011, allocations: 85.06 kB / 1.231 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.9011, allocations: 4 kB / 1.231 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.9012, allocations: 11.98 kB / 1.231 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.9013, allocations: 3.938 kB / 1.231 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.9013, allocations: 4 kB / 1.231 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.9013, allocations: 91.27 kB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9013, allocations: 3.938 kB / 1.232 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002931/0.9016, allocations: 39.92 kB / 1.232 GB, free: 7.203 MB / 0.9512 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.0003417/0.902, allocations: 172.3 kB / 1.232 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.9022, allocations: 67.95 kB / 1.232 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9023, allocations: 3.938 kB / 1.232 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.9024, allocations: 39.97 kB / 1.232 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.9026, allocations: 14.22 kB / 1.232 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.903, allocations: 196.3 kB / 1.232 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.9033, allocations: 0.6846 MB / 1.233 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.9033, allocations: 7.984 kB / 1.233 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.9034, allocations: 11.44 kB / 1.233 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of SimCode: time 1.704e-06/0.9034, allocations: 0 / 1.233 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of Templates: time 0.004067/0.9074, allocations: 1.446 MB / 1.234 GB, free: 4.527 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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