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.00149/0.00149, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001527/0.001527, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.47 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7161, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002456/0.7186, allocations: 1.488 MB / 1.084 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.7197, allocations: 0.7258 MB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.7198, allocations: 5.125 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.7198, allocations: 9.141 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.7199, allocations: 10.09 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.7204, allocations: 125.7 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.7205, allocations: 72.78 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.7206, allocations: 16.28 kB / 1.085 GB, free: 0 / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.7207, allocations: 34.64 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.7208, allocations: 44.19 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.7208, allocations: 7.125 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.721, allocations: 98.69 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.721, allocations: 23.14 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.7211, allocations: 30.56 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.7213, allocations: 140.6 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.7213, allocations: 0 / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7213, allocations: 0 / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7213, allocations: 1.594 kB / 1.086 GB, free: 15.84 MB / 0.8419 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.0006683/0.722, allocations: 418 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.722, allocations: 9.984 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.7221, allocations: 8.594 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.7222, allocations: 173.4 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.7223, allocations: 7.062 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.7223, allocations: 5.188 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.7225, allocations: 67.59 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7225, allocations: 0.6094 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.7225, allocations: 5.156 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7225, allocations: 5.438 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.7227, allocations: 38.83 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.7233, allocations: 319 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.7235, allocations: 53.53 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.7236, allocations: 33.42 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.7236, allocations: 3.984 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.7238, allocations: 73.2 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.7238, allocations: 0.625 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004106/0.7242, allocations: 153.1 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.7243, allocations: 55.14 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.7244, allocations: 122.3 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.7244, allocations: 31.17 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.7245, allocations: 87.77 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.7245, allocations: 17.11 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.7246, allocations: 24.67 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7247, allocations: 327.5 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.7248, allocations: 27.33 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.731e-05/0.7249, allocations: 50.16 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.7251, allocations: 71.94 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7251, allocations: 9.219 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002544/0.7254, allocations: 108.3 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7254, allocations: 6.906 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7254, allocations: 0 / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.7254, allocations: 1.719 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.7255, allocations: 22.55 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7255, allocations: 5.312 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.7256, allocations: 9.547 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.7256, allocations: 7.672 kB / 1.088 GB, free: 13.85 MB / 0.8419 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.0001002/0.7257, allocations: 120.7 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.7258, allocations: 6.312 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.7258, allocations: 11.86 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7258, allocations: 0.625 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7258, allocations: 1.469 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7258, allocations: 0.7969 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.7264, allocations: 386.7 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7264, allocations: 0 / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.7264, allocations: 6.375 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.7264, allocations: 0 / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.7264, allocations: 1.125 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7264, allocations: 1.188 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7264, allocations: 5.625 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.7268, allocations: 217.9 kB / 1.089 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.7268, allocations: 84.44 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.7268, allocations: 1.578 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.7269, allocations: 4.906 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.727, allocations: 8.547 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.727, allocations: 2.609 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.7271, allocations: 96.67 kB / 1.089 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7271, allocations: 0 / 1.089 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003111/0.7274, allocations: 34.55 kB / 1.089 GB, free: 13.01 MB / 0.8419 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.0003652/0.7278, allocations: 178 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.728, allocations: 81.16 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.728, allocations: 1.281 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.7282, allocations: 36.97 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.7284, allocations: 9.969 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.7288, allocations: 201 kB / 1.089 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.7292, allocations: 0.6894 MB / 1.09 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.7292, allocations: 12.55 kB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.7292, allocations: 0 / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.003728/0.733, allocations: 1.612 MB / 1.092 GB, free: 11.81 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches