Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00776/0.00776, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001608/0.001608, allocations: 190.4 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9156/0.9169, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002953/0.9199, allocations: 1.506 MB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.9214, allocations: 0.7293 MB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.9214, allocations: 0 / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.9215, allocations: 9.188 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.9215, allocations: 6.453 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.9221, allocations: 129.2 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.9223, allocations: 76.86 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.9224, allocations: 11.86 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.9225, allocations: 31.94 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.9226, allocations: 40.41 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.9226, allocations: 6.125 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.9228, allocations: 99.25 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.9229, allocations: 18.77 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.9229, allocations: 32.08 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.9233, allocations: 141.8 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.9233, allocations: 1.906 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9233, allocations: 3.938 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.9233, allocations: 0 / 1.091 GB, free: 3.711 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.0006249/0.9239, allocations: 421.8 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.924, allocations: 10.41 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.924, allocations: 8.297 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.9241, allocations: 173.4 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.9242, allocations: 7.656 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.9242, allocations: 4.375 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.9244, allocations: 72.3 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.9244, allocations: 0 / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.9244, allocations: 1.188 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9245, allocations: 1.562 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.9247, allocations: 39.86 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.9254, allocations: 326.5 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.9256, allocations: 46.08 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.9257, allocations: 36.58 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.9257, allocations: 1.031 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.926, allocations: 79.97 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.926, allocations: 3.938 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004838/0.9265, allocations: 142 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.9265, allocations: 54.45 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.9266, allocations: 118.6 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.9267, allocations: 35.33 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.9267, allocations: 88.2 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.9268, allocations: 19.47 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.9268, allocations: 30.45 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.9269, allocations: 318.9 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.927, allocations: 31.28 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.9271, allocations: 50.55 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.9273, allocations: 72.03 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9273, allocations: 0.75 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002652/0.9276, allocations: 112.5 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9276, allocations: 6.25 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9276, allocations: 4.062 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.9276, allocations: 2.406 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.9278, allocations: 14.83 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.9278, allocations: 1.688 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.9278, allocations: 13.56 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.9279, allocations: 4.312 kB / 1.093 GB, free: 1.719 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 9.568e-05/0.928, allocations: 123.9 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.928, allocations: 6.766 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.928, allocations: 11.56 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.928, allocations: 0.9688 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9281, allocations: 4.969 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9281, allocations: 0.75 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.9285, allocations: 382.5 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9285, allocations: 0.7969 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.9286, allocations: 4.797 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9286, allocations: 0.9062 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.9286, allocations: 7.062 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9286, allocations: 0 / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9286, allocations: 4.547 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.9289, allocations: 211.2 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.929, allocations: 84.22 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.929, allocations: 5.578 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.9291, allocations: 4.5 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.9292, allocations: 16.5 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.9292, allocations: 3.344 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.9292, allocations: 92.55 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9292, allocations: 0 / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003398/0.9296, allocations: 41.83 kB / 1.094 GB, free: 0.8633 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.0004832/0.9301, allocations: 172.5 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.9304, allocations: 76.39 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9304, allocations: 0 / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.9305, allocations: 33.8 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.9308, allocations: 8.031 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.9312, allocations: 184.2 kB / 1.094 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.9314, allocations: 0.6864 MB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.9315, allocations: 10.05 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.9315, allocations: 10.95 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 1.91e-07/0.9315, allocations: 0 / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.005287/0.9368, allocations: 1.453 MB / 1.096 GB, free: 15.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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