Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Herkel2008WindowsSmall,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.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_9_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.007354/0.007354, allocations: 109.4 kB / 15.71 MB, free: 6.48 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.001594/0.001594, allocations: 194.2 kB / 16.64 MB, free: 6.395 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.449/1.449, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.3 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 62.06 kB / 0.9509 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 140.4 MB / 1.088 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002572/0.3432, allocations: 1.49 MB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3445, allocations: 0.7336 MB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.3445, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.3446, allocations: 7.875 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.3446, allocations: 7.938 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.3452, allocations: 119.6 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3453, allocations: 87.69 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3454, allocations: 12 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.3455, allocations: 35.91 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.3456, allocations: 35.89 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3456, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.3458, allocations: 103.8 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.3459, allocations: 15.98 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.3459, allocations: 27.86 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3461, allocations: 135.6 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3462, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3462, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3462, allocations: 8 kB / 1.091 GB, free: 14.57 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.0006529/0.3468, allocations: 424.9 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3469, allocations: 15.97 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.3469, allocations: 8.844 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3471, allocations: 172.2 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3471, allocations: 12.36 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3471, allocations: 4.375 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3473, allocations: 77.97 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3473, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3474, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3474, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3475, allocations: 35.97 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.3481, allocations: 312.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3482, allocations: 54.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.134e-05/0.3483, allocations: 36.91 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3484, allocations: 4.062 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3485, allocations: 79.31 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3486, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003933/0.349, allocations: 137.5 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.349, allocations: 55.41 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.3491, allocations: 117.8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3491, allocations: 29.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3492, allocations: 95.97 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3492, allocations: 15.89 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.3493, allocations: 33.64 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3494, allocations: 330.8 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.3495, allocations: 19.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/0.3496, allocations: 50.5 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3498, allocations: 74.86 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3498, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002377/0.35, allocations: 117.5 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.35, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.35, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3501, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.3502, allocations: 15.92 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3502, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.3502, allocations: 15.97 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3503, allocations: 4 kB / 1.093 GB, free: 12.01 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 8.829e-05/0.3504, allocations: 121.8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.3504, allocations: 7.906 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.3504, allocations: 8.375 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3504, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3504, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3505, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.3509, allocations: 386.3 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3509, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.3509, allocations: 7.984 kB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.351, allocations: 0 / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.351, allocations: 0 / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.351, allocations: 0 / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.351, allocations: 3.938 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3513, allocations: 223.3 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3513, allocations: 81.09 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3513, allocations: 4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.3514, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3515, allocations: 15.92 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3515, allocations: 7.938 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.3516, allocations: 95.86 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3516, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000295/0.3519, allocations: 39.91 kB / 1.094 GB, free: 10.93 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.0003224/0.3522, allocations: 154.4 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3524, allocations: 71.91 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3524, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.3526, allocations: 40.09 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.3528, allocations: 16.78 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.3532, allocations: 176.4 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3534, allocations: 0.6885 MB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.3535, allocations: 7.75 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.3535, allocations: 23.42 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3535, allocations: 0 / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.003752/0.3573, allocations: 1.45 MB / 1.097 GB, free: 8.262 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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