Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Herkel2008WindowsTiltedOpen,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.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_9_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.008998/0.008998, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001966/0.001966, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.565/2.565, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.14 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3741, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002872/0.377, allocations: 1.501 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3783, allocations: 0.7297 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.3784, allocations: 7.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.3784, allocations: 11.86 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.3785, allocations: 3.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.379, allocations: 123.5 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.3792, allocations: 63.84 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3793, allocations: 27.97 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3794, allocations: 31.91 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.3795, allocations: 43.83 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.3795, allocations: 8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.3797, allocations: 91.84 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.3798, allocations: 23.91 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.3798, allocations: 31.86 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3801, allocations: 139.6 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3801, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3801, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3801, allocations: 4 kB / 1.091 GB, free: 14.65 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.0006785/0.3808, allocations: 416.9 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3809, allocations: 11.97 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.3809, allocations: 8.844 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3811, allocations: 176.2 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.3811, allocations: 4.375 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3811, allocations: 8.312 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3813, allocations: 77.95 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3814, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3814, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3814, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3815, allocations: 43.91 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.3822, allocations: 308.8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3823, allocations: 58.55 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.3824, allocations: 32.97 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3824, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.3826, allocations: 79.31 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3826, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.383, allocations: 141.6 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3831, allocations: 55.41 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.3832, allocations: 125.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.3832, allocations: 29.7 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3833, allocations: 95.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3833, allocations: 11.89 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3833, allocations: 21.72 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3835, allocations: 330.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.3836, allocations: 27.98 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.3836, allocations: 50.48 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3838, allocations: 70.56 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3838, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002348/0.3841, allocations: 117.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3841, allocations: 7.938 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3841, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3841, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3842, allocations: 15.92 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3842, allocations: 4.062 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.3843, allocations: 11.95 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3843, allocations: 8 kB / 1.093 GB, free: 12.09 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 0.0001027/0.3844, allocations: 121.8 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.3845, allocations: 7.906 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.3845, allocations: 4.375 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3845, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3845, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3845, allocations: 3.984 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.385, allocations: 386.3 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.385, allocations: 3.984 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.385, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.385, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.385, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3851, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3851, allocations: 7.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3854, allocations: 223.3 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.3854, allocations: 81.11 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3854, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.3855, allocations: 7.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3856, allocations: 3.938 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3856, allocations: 8 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.3856, allocations: 95.27 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3856, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003429/0.386, allocations: 43.89 kB / 1.094 GB, free: 11.01 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.0003534/0.3864, allocations: 163.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.3866, allocations: 71.89 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3866, allocations: 3.938 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.3867, allocations: 36.11 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.387, allocations: 9.875 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.3874, allocations: 184.4 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3877, allocations: 0.6846 MB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.3878, allocations: 11.73 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.3878, allocations: 11.44 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.3878, allocations: 0 / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.004875/0.3927, allocations: 1.48 MB / 1.096 GB, free: 8.316 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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