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.001705/0.001705, allocations: 110 kB / 16.41 MB, free: 6.5 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.001906/0.001906, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.472/1.472, 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 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8504/0.8519, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002334/0.8543, allocations: 1.491 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.8554, allocations: 0.7271 MB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.8554, allocations: 7.938 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.8555, allocations: 6.156 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.8555, allocations: 6.312 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.8561, allocations: 128.9 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.8562, allocations: 77.61 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.8563, allocations: 11.39 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.8564, allocations: 31.11 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.8565, allocations: 40.45 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.8565, allocations: 6.969 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.8567, allocations: 98.73 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.8567, allocations: 19 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.8568, allocations: 31.14 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.857, allocations: 138.9 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.857, allocations: 7.938 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.857, allocations: 0 / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.857, allocations: 1.594 kB / 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.0005243/0.8576, allocations: 423.7 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.8576, allocations: 8.844 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.8577, allocations: 9.547 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.8577, allocations: 173.2 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.8578, allocations: 3.391 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.8578, allocations: 8.062 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.858, allocations: 72.94 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.858, allocations: 0 / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.858, allocations: 1.734 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.858, allocations: 5.156 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.8581, allocations: 39.34 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.8586, allocations: 315.2 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.8588, allocations: 49.33 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.8589, allocations: 32.33 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.8589, allocations: 4.781 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.8591, allocations: 81.23 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.8591, allocations: 0 / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003794/0.8595, allocations: 137 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.8595, allocations: 58.52 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.8596, allocations: 119.1 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.8596, allocations: 27.17 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.8597, allocations: 96.7 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.8597, allocations: 8.031 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.8598, allocations: 28.81 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.8598, allocations: 324.1 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.8599, allocations: 30.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.86, allocations: 54.45 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.8602, allocations: 72.56 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8602, allocations: 0 / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002274/0.8604, allocations: 112.7 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.8604, allocations: 5.75 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.8604, allocations: 1.703 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8604, allocations: 1 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.8605, allocations: 19.52 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.8606, allocations: 1.906 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.8606, allocations: 12.27 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.8607, allocations: 8.391 kB / 1.094 GB, free: 1.727 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 6.556e-05/0.8607, allocations: 124.1 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.8607, allocations: 6.875 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8608, allocations: 11.52 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.8608, allocations: 4.891 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8608, allocations: 0.7812 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8608, allocations: 0.7969 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.8612, allocations: 382.4 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8612, allocations: 4 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.8612, allocations: 5.406 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.8612, allocations: 1.938 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.8613, allocations: 1.281 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.8613, allocations: 5.453 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8613, allocations: 3.938 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.8615, allocations: 208 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.8616, allocations: 87.8 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.8616, allocations: 5.375 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.8617, allocations: 4.141 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.8617, allocations: 9.438 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.8617, allocations: 2.609 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.8618, allocations: 97.05 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8618, allocations: 0 / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000323/0.8621, allocations: 46.12 kB / 1.095 GB, free: 0.8672 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.0003101/0.8624, allocations: 165.9 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.8627, allocations: 72.77 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8627, allocations: 1.125 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.8628, allocations: 36.67 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.863, allocations: 13.77 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.8634, allocations: 207.1 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.8636, allocations: 0.6866 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.8637, allocations: 12.27 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 3.7e-07/0.8637, allocations: 0 / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.003803/0.8675, allocations: 1.616 MB / 1.097 GB, free: 15.68 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches