Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001546, allocations: 178.4 kB / 16.92 MB, free: 6.648 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.631/2.631, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 17.88 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3235, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001842/0.3254, allocations: 1.225 MB / 1.061 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3267, allocations: 0.7284 MB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.3268, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.3268, allocations: 7.875 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/0.3269, allocations: 7.938 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.3274, allocations: 103.8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3276, allocations: 71.83 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.3277, allocations: 4 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.3278, allocations: 31.91 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.3279, allocations: 35.83 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3279, allocations: 4 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.3281, allocations: 91.84 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.3281, allocations: 19.91 kB / 1.062 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.3282, allocations: 57.56 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.3284, allocations: 100 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3284, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3284, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.3284, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 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.0006017/0.329, allocations: 401.1 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3291, allocations: 11.97 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.3291, allocations: 16.84 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3293, allocations: 184.1 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.3293, allocations: 4.375 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3293, allocations: 4.375 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3295, allocations: 73.97 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3296, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3296, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3296, allocations: 4 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3297, allocations: 43.97 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.3304, allocations: 324.6 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3306, allocations: 50.56 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.3307, allocations: 36.97 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3307, allocations: 0 / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.3309, allocations: 83.38 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3309, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000433/0.3314, allocations: 145.6 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3314, allocations: 51.41 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3315, allocations: 121.8 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3316, allocations: 33.7 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3316, allocations: 92.12 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3317, allocations: 23.81 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.3317, allocations: 21.7 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3318, allocations: 318.8 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.3319, allocations: 31.92 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.332, allocations: 59.41 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3322, allocations: 95.28 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3322, allocations: 4 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002935/0.3325, allocations: 121.6 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3326, allocations: 4.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3326, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3326, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3327, allocations: 15.98 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3327, allocations: 4.375 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.3328, allocations: 8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3328, allocations: 7.984 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.3329, allocations: 121.7 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.333, allocations: 7.906 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.333, allocations: 8.375 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.333, allocations: 4.031 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.333, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3331, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.3335, allocations: 390.4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3336, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.3336, allocations: 11.92 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3336, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3336, allocations: 4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3336, allocations: 4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3336, allocations: 3.938 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.334, allocations: 215.4 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.334, allocations: 85.02 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.334, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.3341, allocations: 8 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3342, allocations: 7.922 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3342, allocations: 4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.3343, allocations: 91.92 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3343, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003122/0.3346, allocations: 39.98 kB / 1.065 GB, free: 14.79 MB / 0.8262 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,occ.y,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.0003597/0.335, allocations: 173.4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.3352, allocations: 67.97 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3352, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3353, allocations: 48.03 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3356, allocations: 4 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.336, allocations: 226.9 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3363, allocations: 0.6926 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.3363, allocations: 11.44 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3363, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.003702/0.34, allocations: 1.61 MB / 1.068 GB, free: 11.91 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches