Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008205/0.008205, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.534/1.534, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.135/3.135, allocations: 470.6 MB / 0.7442 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 10.06 kB / 0.9123 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4002, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002359/0.4027, allocations: 1.231 MB / 1.071 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.4044, allocations: 0.7131 MB / 1.072 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.4045, allocations: 0 / 1.072 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.4045, allocations: 7.922 kB / 1.072 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.4046, allocations: 3.938 kB / 1.072 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007484/0.4054, allocations: 111.7 kB / 1.072 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.4055, allocations: 67.83 kB / 1.072 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4057, allocations: 15.98 kB / 1.072 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.4058, allocations: 27.86 kB / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.4059, allocations: 39.83 kB / 1.072 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.4059, allocations: 4 kB / 1.072 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.4062, allocations: 83.91 kB / 1.072 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.4063, allocations: 15.92 kB / 1.072 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.4064, allocations: 57.55 kB / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.4067, allocations: 139.8 kB / 1.072 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4067, allocations: 4 kB / 1.072 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4067, allocations: 0 / 1.072 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4067, allocations: 0 / 1.072 GB, free: 8.875 MB / 0.8262 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.0008377/0.4076, allocations: 406.8 kB / 1.073 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.4077, allocations: 8.031 kB / 1.073 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.4077, allocations: 4.938 kB / 1.073 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.408, allocations: 184.2 kB / 1.073 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.408, allocations: 384 / 1.073 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4081, allocations: 8.375 kB / 1.073 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.4083, allocations: 73.97 kB / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4083, allocations: 0 / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4083, allocations: 0 / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4084, allocations: 0 / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.4085, allocations: 51.91 kB / 1.073 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.4093, allocations: 316.7 kB / 1.073 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.4095, allocations: 50.56 kB / 1.073 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4096, allocations: 36.95 kB / 1.073 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4096, allocations: 11.94 kB / 1.073 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.4098, allocations: 83.38 kB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.4099, allocations: 4 kB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004665/0.4103, allocations: 145.5 kB / 1.074 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.4104, allocations: 51.41 kB / 1.074 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.4105, allocations: 121.8 kB / 1.074 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4106, allocations: 25.7 kB / 1.074 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.4107, allocations: 96.14 kB / 1.074 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.4108, allocations: 15.75 kB / 1.074 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.4108, allocations: 25.64 kB / 1.074 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.411, allocations: 318.8 kB / 1.074 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.4111, allocations: 39.91 kB / 1.074 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4112, allocations: 51 kB / 1.074 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.4114, allocations: 78.53 kB / 1.074 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4114, allocations: 0 / 1.074 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002799/0.4117, allocations: 125.8 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4117, allocations: 8 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4118, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4118, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4119, allocations: 15.92 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4119, allocations: 4 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.412, allocations: 8.062 kB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.412, allocations: 4 kB / 1.075 GB, free: 6.305 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 0.0001399/0.4122, allocations: 122.5 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4122, allocations: 19.89 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.4122, allocations: 4.375 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4123, allocations: 7.938 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4123, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4123, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.4129, allocations: 398.2 kB / 1.075 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4129, allocations: 0 / 1.075 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.4129, allocations: 8 kB / 1.075 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4129, allocations: 0 / 1.075 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.413, allocations: 3.984 kB / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.413, allocations: 0 / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.413, allocations: 3.938 kB / 1.075 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.4133, allocations: 215.5 kB / 1.075 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.4134, allocations: 89 kB / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4134, allocations: 0 / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.4135, allocations: 4 kB / 1.075 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.4136, allocations: 15.92 kB / 1.075 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.4136, allocations: 0 / 1.075 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.521e-05/0.4137, allocations: 103.4 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4137, allocations: 0 / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000348/0.4141, allocations: 32 kB / 1.076 GB, free: 5.199 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.00056/0.4146, allocations: 157.4 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.4149, allocations: 79.89 kB / 1.076 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.415, allocations: 0 / 1.076 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.4151, allocations: 43.91 kB / 1.076 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4154, allocations: 8.438 kB / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.416, allocations: 211 kB / 1.076 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4164, allocations: 0.6887 MB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.4165, allocations: 7.984 kB / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.4165, allocations: 11.44 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.4165, allocations: 0 / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.005779/0.4223, allocations: 1.372 MB / 1.078 GB, free: 2.582 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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