Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.009528/0.009529, allocations: 101.9 kB / 15.74 MB, free: 6.039 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.001977/0.001977, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.625/1.625, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61.84 kB / 0.9508 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.321, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003505/0.3246, allocations: 1.494 MB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3262, allocations: 0.7298 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.3263, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.3263, allocations: 11.86 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.3264, allocations: 7.875 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.3272, allocations: 127.6 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3274, allocations: 71.83 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3275, allocations: 19.91 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3277, allocations: 31.86 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.3278, allocations: 39.83 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3278, allocations: 8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.328, allocations: 99.89 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.3281, allocations: 15.92 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.3282, allocations: 35.86 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.3285, allocations: 143.5 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3285, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3285, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3285, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 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.0007503/0.3293, allocations: 416.7 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3293, allocations: 8.031 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.3294, allocations: 8.891 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3295, allocations: 180.2 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3296, allocations: 12.38 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.3296, allocations: 4.375 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3299, allocations: 73.84 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3299, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3299, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3299, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3301, allocations: 39.95 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.3309, allocations: 312.7 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3311, allocations: 62.48 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.3312, allocations: 28.97 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.3312, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.3315, allocations: 79.44 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3315, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000494/0.332, allocations: 137.6 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.332, allocations: 55.34 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3322, allocations: 121.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3322, allocations: 29.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.3323, allocations: 92.14 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3324, allocations: 19.84 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.227e-05/0.3324, allocations: 25.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3326, allocations: 322.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3327, allocations: 27.98 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3329, allocations: 46.55 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3331, allocations: 78.48 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3331, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002942/0.3334, allocations: 113.5 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3334, allocations: 9.656 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3334, allocations: 7.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3334, allocations: 4.062 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3336, allocations: 11.98 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3336, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.3336, allocations: 7.953 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3337, allocations: 7.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 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.0001191/0.3338, allocations: 121.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.3338, allocations: 7.953 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.3339, allocations: 12.38 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3339, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3339, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3339, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.3344, allocations: 378.9 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3344, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.3345, allocations: 7.984 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3345, allocations: 3.938 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3345, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3345, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3345, allocations: 3.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.3348, allocations: 211.5 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.3349, allocations: 89 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3349, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.335, allocations: 7.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.3351, allocations: 7.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.3351, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.3351, allocations: 95.92 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3352, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003363/0.3355, allocations: 35.92 kB / 1.094 GB, free: 11.06 MB / 0.8575 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.0004323/0.3359, allocations: 176.2 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3362, allocations: 71.95 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3362, allocations: 0 / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3363, allocations: 43.91 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3366, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.3371, allocations: 184.3 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.3374, allocations: 0.6886 MB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.408e-05/0.3375, allocations: 7.734 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.3375, allocations: 11.44 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.3375, allocations: 0 / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.005186/0.3427, allocations: 1.458 MB / 1.096 GB, free: 8.391 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0