Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009717, allocations: 98.72 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.001158/0.001158, allocations: 184.5 kB / 16.92 MB, free: 6.895 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 462.6 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 11.55 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001776/0.3189, allocations: 1.225 MB / 1.061 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3202, allocations: 0.7167 MB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.3202, allocations: 4 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.3203, allocations: 7.922 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.3203, allocations: 15.86 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.3208, allocations: 103.8 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3209, allocations: 59.84 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.321, allocations: 15.98 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9e-05/0.3211, allocations: 31.91 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.3212, allocations: 35.84 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3212, allocations: 4 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.3214, allocations: 91.84 kB / 1.062 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.3215, allocations: 19.91 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.3215, allocations: 49.56 kB / 1.062 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3217, allocations: 96.05 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3217, allocations: 4 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3217, allocations: 0 / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.3217, allocations: 0 / 1.062 GB, free: 2.527 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.0005908/0.3223, allocations: 409.1 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3224, allocations: 11.97 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3224, allocations: 8.844 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3226, allocations: 192 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.3226, allocations: 8.375 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3226, allocations: 4.375 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3228, allocations: 73.97 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3228, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3229, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3229, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.323, allocations: 47.97 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.3236, allocations: 324.6 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3238, allocations: 54.55 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.3238, allocations: 40.97 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3239, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.3241, allocations: 79.44 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3241, allocations: 3.938 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003948/0.3245, allocations: 149.6 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3245, allocations: 55.41 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.3246, allocations: 121.7 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3246, allocations: 29.7 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.3247, allocations: 88.14 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.3247, allocations: 19.73 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.3247, allocations: 17.72 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3249, allocations: 326.8 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.325, allocations: 31.98 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.3251, allocations: 46.56 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.3252, allocations: 90.72 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3252, allocations: 0 / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002594/0.3255, allocations: 125.5 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3255, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3255, allocations: 4.062 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3256, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.3257, allocations: 15.98 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3257, allocations: 3.938 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.3257, allocations: 4 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3258, allocations: 4 kB / 1.064 GB, free: 15.93 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 8.98e-05/0.3259, allocations: 125.8 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.3259, allocations: 11.91 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.3259, allocations: 8.375 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3259, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3259, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3259, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.3264, allocations: 394.3 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3264, allocations: 4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.3264, allocations: 7.984 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3264, allocations: 0 / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3265, allocations: 0 / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3265, allocations: 0 / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3265, allocations: 3.938 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3268, allocations: 219.4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.3268, allocations: 88.95 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3268, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.3269, allocations: 4 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.327, allocations: 11.92 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.327, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.327, allocations: 99.27 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.327, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002904/0.3273, allocations: 47.92 kB / 1.065 GB, free: 14.83 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.0003181/0.3277, allocations: 162.3 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3279, allocations: 79.97 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3279, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.328, allocations: 39.97 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.3283, allocations: 11.98 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.3287, allocations: 230.9 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.3289, allocations: 0.6887 MB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.3289, allocations: 11.44 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3289, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.003517/0.3324, allocations: 1.6 MB / 1.068 GB, free: 11.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches