Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Herkel2008WindowsTiltedOpen,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.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_latest_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.00192/0.00192, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002435/0.002435, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 69.7 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003056/0.3332, allocations: 1.554 MB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3349, allocations: 0.74 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.335, allocations: 7.938 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.328e-05/0.3351, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.3352, allocations: 3.938 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.336, allocations: 107.8 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3361, allocations: 71.77 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3363, allocations: 15.92 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3364, allocations: 35.91 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.3365, allocations: 31.89 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3366, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.3368, allocations: 91.84 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.3369, allocations: 19.91 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.337, allocations: 31.86 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.3373, allocations: 139.9 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3374, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3374, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3374, allocations: 4 kB / 1.07 GB, free: 8.09 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.0008351/0.3382, allocations: 409 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3383, allocations: 12.03 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.3383, allocations: 8.844 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3385, allocations: 172.2 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.3385, allocations: 12.31 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3386, allocations: 8.375 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.3388, allocations: 73.95 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3388, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3388, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3388, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.339, allocations: 35.97 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.3397, allocations: 320.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3398, allocations: 50.5 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.3399, allocations: 32.97 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.34, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.3402, allocations: 79.38 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3402, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004143/0.3406, allocations: 145.8 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3407, allocations: 55.41 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3408, allocations: 129.7 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3408, allocations: 25.7 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.3409, allocations: 96.08 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3409, allocations: 19.73 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.3409, allocations: 29.7 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3411, allocations: 322.8 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/0.3412, allocations: 23.98 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.3413, allocations: 54.48 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3414, allocations: 78.48 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3414, allocations: 0 / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000247/0.3417, allocations: 109.5 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3417, allocations: 9.859 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3417, allocations: 4.062 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3417, allocations: 4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3419, allocations: 12 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3419, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.3419, allocations: 11.97 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.342, allocations: 4 kB / 1.073 GB, free: 5.543 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 9.37e-05/0.3421, allocations: 121.7 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.3421, allocations: 7.906 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.3421, allocations: 16.36 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3421, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3421, allocations: 4 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3422, allocations: 4 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3426, allocations: 382.4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3426, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.3427, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3427, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3427, allocations: 7.984 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3427, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3427, allocations: 3.938 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.343, allocations: 207.4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.3431, allocations: 85.02 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3431, allocations: 4 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.3432, allocations: 3.984 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3432, allocations: 11.94 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3432, allocations: 7.984 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.3433, allocations: 95.2 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.931e-06/0.3433, allocations: 0 / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003039/0.3436, allocations: 39.94 kB / 1.074 GB, free: 4.457 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.0003547/0.344, allocations: 161.1 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3442, allocations: 75.88 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3443, allocations: 4 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3444, allocations: 31.98 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.3446, allocations: 14.77 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.3451, allocations: 194.2 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.3453, allocations: 0.6887 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.3454, allocations: 4 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.3454, allocations: 15.38 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3454, allocations: 4 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.004376/0.3498, allocations: 1.371 MB / 1.076 GB, free: 1.867 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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