Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008817/0.0008818, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008764/0.0008764, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004693, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.8111, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001804/0.813, allocations: 1.196 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.8143, allocations: 0.6862 MB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.8144, allocations: 3.938 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.8144, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.8145, allocations: 7.922 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.8152, allocations: 99.77 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.8153, allocations: 63.77 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.8155, allocations: 15.98 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.8156, allocations: 27.92 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.8157, allocations: 35.83 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.8157, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.8159, allocations: 91.84 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.8159, allocations: 7.984 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.816, allocations: 41.64 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.8162, allocations: 97.78 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.8162, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8162, allocations: 3.938 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.8163, allocations: 7.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 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.0007413/0.817, allocations: 412.8 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.8171, allocations: 8.562 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.8171, allocations: 7.906 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.8173, allocations: 171 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.8173, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.8173, allocations: 7.953 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.8176, allocations: 73.66 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8176, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.8176, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.8176, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.8178, allocations: 43.91 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.8185, allocations: 328.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.8186, allocations: 46.56 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.8187, allocations: 36.97 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.8187, allocations: 7.984 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.819, allocations: 83.33 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.819, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004169/0.8194, allocations: 145.5 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.8195, allocations: 59.41 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8196, allocations: 113.8 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.8196, allocations: 33.69 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.8197, allocations: 88.27 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.8197, allocations: 19.88 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.8197, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8198, allocations: 330.7 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.8199, allocations: 27.98 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.82, allocations: 50.55 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.04e-05/0.8201, allocations: 32 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8201, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.8204, allocations: 117.5 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8204, allocations: 8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8204, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8204, allocations: 4.062 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.8205, allocations: 11.98 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.8205, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.8206, allocations: 23.77 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.8206, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.7794 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.8207, allocations: 117.8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.8208, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.8208, allocations: 12.38 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8208, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8208, allocations: 3.938 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.8208, allocations: 3.984 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.8213, allocations: 382.3 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8213, allocations: 3.984 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.8214, allocations: 8 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8214, allocations: 4 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.8214, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8214, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8214, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.8217, allocations: 223.8 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.8218, allocations: 81.05 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.8218, allocations: 7.984 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.8219, allocations: 7.984 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.8219, allocations: 7.938 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.8219, allocations: 7.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.822, allocations: 87.28 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.822, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000294/0.8223, allocations: 39.98 kB / 1.028 GB, free: 10.06 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004645/0.8228, allocations: 179.1 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.823, allocations: 83.94 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8231, allocations: 0 / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.8232, allocations: 35.98 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.8234, allocations: 12.94 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.8239, allocations: 201.2 kB / 1.028 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.8243, allocations: 0.6926 MB / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.8243, allocations: 8.125 kB / 1.029 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.8244, allocations: 15.42 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8244, allocations: 0 / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of Templates: time 0.00459/0.829, allocations: 1.335 MB / 1.03 GB, free: 7.457 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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