Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001601/0.001601, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001559/0.001559, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.98 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3155, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003071/0.3186, allocations: 1.553 MB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3201, allocations: 0.7245 MB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.3202, allocations: 4 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.3202, allocations: 7.922 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.3203, allocations: 11.92 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.3209, allocations: 107.8 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.321, allocations: 67.84 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.3211, allocations: 15.98 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.3212, allocations: 31.91 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.3213, allocations: 39.83 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3213, allocations: 8 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.3215, allocations: 99.84 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.3215, allocations: 19.92 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.3216, allocations: 31.84 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.3218, allocations: 100.1 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3218, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3218, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3218, allocations: 0 / 1.067 GB, free: 12.32 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.0007301/0.3226, allocations: 420.9 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3226, allocations: 8.625 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.3227, allocations: 12.84 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3228, allocations: 180.2 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.3229, allocations: 8.375 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3229, allocations: 4.375 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3231, allocations: 65.97 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3231, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.3231, allocations: 7.984 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3231, allocations: 0 / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3233, allocations: 39.98 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.3239, allocations: 312.7 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3241, allocations: 54.55 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.3242, allocations: 28.97 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3242, allocations: 8 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.3244, allocations: 79.44 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.3244, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000406/0.3249, allocations: 149.4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3249, allocations: 55.39 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.325, allocations: 121.8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3251, allocations: 29.7 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.3251, allocations: 92.05 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3252, allocations: 19.73 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.3252, allocations: 29.7 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3254, allocations: 318.8 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.3255, allocations: 27.98 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3256, allocations: 58.48 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.3258, allocations: 70.48 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3258, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002606/0.326, allocations: 109.6 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3261, allocations: 12 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3261, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3261, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3262, allocations: 12 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3262, allocations: 11.92 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.3263, allocations: 7.906 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3263, allocations: 0 / 1.069 GB, free: 9.762 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.0001087/0.3264, allocations: 123.5 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.3264, allocations: 7.906 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.3265, allocations: 16.36 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3265, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3265, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3265, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.327, allocations: 386.3 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.327, allocations: 0 / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.3271, allocations: 4 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3271, allocations: 4 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3271, allocations: 7.984 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3271, allocations: 0 / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3271, allocations: 3.938 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.3274, allocations: 207.4 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3275, allocations: 84.95 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3275, allocations: 3.984 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.3276, allocations: 8 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.3277, allocations: 7.938 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3277, allocations: 3.984 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.3278, allocations: 99.86 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3278, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003072/0.3281, allocations: 36 kB / 1.07 GB, free: 8.68 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.0003912/0.3285, allocations: 174.8 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3287, allocations: 71.89 kB / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3288, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.3289, allocations: 35.98 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3291, allocations: 9.703 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.3296, allocations: 225.4 kB / 1.071 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3299, allocations: 0.6885 MB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.33, allocations: 11.44 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.33, allocations: 0 / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of Templates: time 0.003721/0.3337, allocations: 1.618 MB / 1.073 GB, free: 5.809 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches