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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00136/0.00136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.687, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003015/0.6901, allocations: 1.491 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.6914, allocations: 0.7401 MB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.6915, allocations: 0 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.6916, allocations: 7.922 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.6917, allocations: 11.88 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.6923, allocations: 119.6 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.6924, allocations: 79.78 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.6926, allocations: 11.98 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.6926, allocations: 35.84 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.6927, allocations: 39.97 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.6928, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.693, allocations: 95.78 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.693, allocations: 15.97 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.6931, allocations: 43.78 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.6934, allocations: 137.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6934, allocations: 3.984 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6934, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.6935, allocations: 0 / 1.02 GB, free: 15.68 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.0008923/0.6944, allocations: 416.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.6944, allocations: 12.03 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.6945, allocations: 4.844 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.6947, allocations: 172.4 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.6947, allocations: 8.375 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.6948, allocations: 4.375 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.695, allocations: 77.95 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.695, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6951, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.6951, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.6952, allocations: 39.91 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.696, allocations: 320.6 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.6961, allocations: 46.56 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.6962, allocations: 36.95 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.6963, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.6966, allocations: 83.25 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.6966, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004541/0.697, allocations: 141.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.6971, allocations: 59.34 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.6972, allocations: 121.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.6973, allocations: 33.7 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.6973, allocations: 88.14 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.6974, allocations: 15.81 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.6974, allocations: 29.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6976, allocations: 326.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.6977, allocations: 23.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.6978, allocations: 50.55 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.698, allocations: 70.56 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.698, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002439/0.6982, allocations: 117.8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6983, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.6983, allocations: 4.016 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.6983, allocations: 4.062 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.6984, allocations: 15.98 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6984, allocations: 3.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.6985, allocations: 11.84 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.6985, allocations: 11.98 kB / 1.022 GB, free: 13.12 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,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.000106/0.6986, allocations: 117.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.6987, allocations: 8 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.6987, allocations: 12.38 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.6987, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6987, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.6987, allocations: 3.938 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.6992, allocations: 386.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.6992, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.6993, allocations: 7.984 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6993, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6993, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6993, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6993, allocations: 3.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.6996, allocations: 215.4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.6996, allocations: 81.02 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.6996, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.6997, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.6998, allocations: 19.92 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.6998, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.6999, allocations: 95.27 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6999, allocations: 3.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003023/0.7002, allocations: 39.98 kB / 1.023 GB, free: 12.04 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 (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.0003363/0.7005, allocations: 157.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.7008, allocations: 71.91 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7008, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.7009, allocations: 39.91 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.7011, allocations: 8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.7016, allocations: 184.5 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.7018, allocations: 0.682 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.7018, allocations: 7.984 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.7019, allocations: 15.44 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7019, allocations: 3.938 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.004486/0.7064, allocations: 1.462 MB / 1.026 GB, free: 9.371 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