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.001116/0.001116, allocations: 107 kB / 16.36 MB, free: 6.336 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.001024/0.001024, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 63.97 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3499, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002979/0.3529, allocations: 1.519 MB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.3543, allocations: 0.736 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.3544, allocations: 4 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.3544, allocations: 7.922 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.3545, allocations: 15.86 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.355, allocations: 119.6 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3552, allocations: 75.77 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3553, allocations: 15.98 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.735e-05/0.3554, allocations: 27.92 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.3555, allocations: 39.83 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.3555, allocations: 8 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.3557, allocations: 103.8 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.3557, allocations: 15.92 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.3558, allocations: 35.84 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.356, allocations: 139.6 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3561, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3561, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3561, allocations: 0 / 1.029 GB, free: 15.17 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.0007227/0.3568, allocations: 413 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3569, allocations: 12.03 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3569, allocations: 12.84 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.357, allocations: 184.1 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.3571, allocations: 384 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3571, allocations: 4.375 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3573, allocations: 73.97 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3573, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3573, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3573, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3575, allocations: 43.97 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.3581, allocations: 324.6 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3582, allocations: 50.55 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.3583, allocations: 36.97 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3583, allocations: 4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.3585, allocations: 79.38 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3585, allocations: 3.938 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004086/0.3589, allocations: 133.5 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.359, allocations: 51.41 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3591, allocations: 129.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3591, allocations: 25.7 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.3592, allocations: 92.12 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3592, allocations: 15.83 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.3593, allocations: 33.7 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3594, allocations: 318.8 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3595, allocations: 27.98 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/0.3596, allocations: 50.55 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.3598, allocations: 70.5 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3598, allocations: 3.938 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002672/0.3601, allocations: 113.8 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3601, allocations: 8.062 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3601, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3602, allocations: 4 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3603, allocations: 15.92 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3603, allocations: 80 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.3603, allocations: 11.89 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3604, allocations: 11.98 kB / 1.032 GB, free: 12.61 MB / 0.8106 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.0001234/0.3605, allocations: 120.8 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.3605, allocations: 11.91 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.3606, allocations: 8.375 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3606, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3606, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3606, allocations: 3.984 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.3611, allocations: 378.4 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3611, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.3611, allocations: 7.984 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3612, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3612, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3612, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3612, allocations: 3.938 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3615, allocations: 211.3 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.3615, allocations: 81.11 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3616, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.3617, allocations: 15.92 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3617, allocations: 7.938 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.3617, allocations: 8 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.3618, allocations: 91.27 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.663e-06/0.3618, allocations: 0 / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003008/0.3621, allocations: 47.83 kB / 1.033 GB, free: 11.53 MB / 0.8106 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.0003401/0.3625, allocations: 163.2 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3627, allocations: 75.88 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3627, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.504e-05/0.3628, allocations: 31.98 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3631, allocations: 8 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.3635, allocations: 180.5 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3638, allocations: 0.6846 MB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.3638, allocations: 7.984 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3638, allocations: 7.438 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3638, allocations: 4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.004096/0.3679, allocations: 1.449 MB / 1.035 GB, free: 8.887 MB / 0.8106 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 -s cvode -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) "" 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