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.001437/0.001437, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.001605/0.001605, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.358/2.358, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 60.05 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7614, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002573/0.764, allocations: 1.504 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.7652, allocations: 0.7245 MB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.7653, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.7653, allocations: 7.875 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.7654, allocations: 15.92 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.7659, allocations: 119.6 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.7661, allocations: 83.7 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.7662, allocations: 8 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.7663, allocations: 31.91 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.7663, allocations: 47.77 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.7664, allocations: 12 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.7666, allocations: 91.84 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.7666, allocations: 15.98 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.7667, allocations: 39.78 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.7669, allocations: 139.3 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7669, allocations: 4 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7669, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.7669, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8887 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.0006029/0.7675, allocations: 414.9 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.7676, allocations: 16.92 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.7676, allocations: 8.844 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.7677, allocations: 168.3 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.7678, allocations: 4.375 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.7678, allocations: 4.375 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.768, allocations: 73.95 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.768, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.768, allocations: 7.984 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.768, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.7681, allocations: 39.92 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.7687, allocations: 324.7 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.7689, allocations: 42.56 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.769, allocations: 36.97 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.769, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.7692, allocations: 79.31 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.7692, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003744/0.7695, allocations: 133.6 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.7696, allocations: 63.33 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.7697, allocations: 129.7 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.7697, allocations: 29.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.7698, allocations: 88.14 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.7698, allocations: 15.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.7699, allocations: 25.7 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.77, allocations: 322.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.77, allocations: 27.98 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.7701, allocations: 54.92 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.7703, allocations: 74.84 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7703, allocations: 0 / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002328/0.7705, allocations: 117.5 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7706, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7706, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7706, allocations: 7.938 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.7707, allocations: 11.94 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7707, allocations: 3.984 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.7708, allocations: 11.94 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.7708, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 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.528e-05/0.7709, allocations: 125.8 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.7709, allocations: 7.906 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.771, allocations: 8.359 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.771, allocations: 4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.771, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.771, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.7714, allocations: 386.3 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7714, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.7715, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7715, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7715, allocations: 3.984 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7715, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7715, allocations: 3.938 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.7718, allocations: 215.3 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.7718, allocations: 81.02 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7718, allocations: 7.984 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.7719, allocations: 4 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.772, allocations: 7.938 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.772, allocations: 11.98 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.7721, allocations: 95.42 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7721, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002933/0.7724, allocations: 39.94 kB / 1.173 GB, free: 13.38 MB / 0.9044 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.0003414/0.7727, allocations: 158 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.773, allocations: 75.89 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.773, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.7731, allocations: 32.38 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.7733, allocations: 13.48 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.7737, allocations: 210.3 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.774, allocations: 0.6923 MB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.774, allocations: 11.44 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.774, allocations: 0 / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.003347/0.7774, allocations: 1.631 MB / 1.176 GB, free: 10.52 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches