Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 99.42 kB / 16.02 MB, free: 76 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.002429/0.002429, allocations: 181 kB / 16.92 MB, free: 6.918 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.0005535, allocations: 10.44 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3331, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001673/0.3348, allocations: 1.221 MB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.336, allocations: 0.7284 MB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.3361, allocations: 0 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.3361, allocations: 7.922 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.3362, allocations: 15.86 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.3367, allocations: 99.77 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.3368, allocations: 67.84 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.3369, allocations: 15.98 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.337, allocations: 31.84 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.3371, allocations: 31.84 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3371, allocations: 4 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.3373, allocations: 87.91 kB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.3373, allocations: 15.92 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.3374, allocations: 57.55 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3376, allocations: 96.05 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3376, allocations: 0 / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3376, allocations: 0 / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3376, allocations: 4 kB / 1.062 GB, free: 2.445 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.0006575/0.3383, allocations: 405.1 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3383, allocations: 11.97 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.3384, allocations: 8.844 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3386, allocations: 192 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.3386, allocations: 4.375 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3386, allocations: 4.375 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3389, allocations: 77.97 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3389, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3389, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3389, allocations: 4 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3391, allocations: 39.97 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.3397, allocations: 324.6 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3398, allocations: 54.55 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.3399, allocations: 36.97 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.34, allocations: 0 / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.3402, allocations: 83.44 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.3402, allocations: 3.938 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004236/0.3406, allocations: 141.6 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.3407, allocations: 55.41 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3408, allocations: 129.7 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3408, allocations: 29.64 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.3409, allocations: 88.14 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.3409, allocations: 15.75 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.341, allocations: 25.7 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3411, allocations: 326.8 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.3412, allocations: 23.98 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3413, allocations: 46.56 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3415, allocations: 94.41 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3415, allocations: 0 / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002757/0.3417, allocations: 125.8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3418, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3418, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3418, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.3419, allocations: 15.92 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3419, allocations: 4.062 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.342, allocations: 12 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.342, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 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.44e-05/0.3421, allocations: 129.8 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.3421, allocations: 3.906 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.3422, allocations: 12.38 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.3422, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3422, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3422, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.3427, allocations: 398.3 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3427, allocations: 0 / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3427, allocations: 11.98 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3427, allocations: 0 / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3428, allocations: 0 / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3428, allocations: 4 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3428, allocations: 3.938 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3431, allocations: 215.4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.3431, allocations: 85 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3431, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.3432, allocations: 8 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3433, allocations: 11.92 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.3433, allocations: 4 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.3433, allocations: 95.27 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3434, allocations: 0 / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002957/0.3437, allocations: 39.98 kB / 1.065 GB, free: 14.75 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,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.0003977/0.3441, allocations: 160.5 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3443, allocations: 75.91 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3443, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3445, allocations: 39.97 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3447, allocations: 12.73 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.3452, allocations: 231 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.3455, allocations: 0.6887 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.3455, allocations: 15.44 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3455, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.003658/0.3492, allocations: 1.613 MB / 1.068 GB, free: 11.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches