Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.16 kB / 16.02 MB, free: 80 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.001596/0.001596, allocations: 173 kB / 16.92 MB, free: 6.652 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7004, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001517/0.702, allocations: 1.218 MB / 0.9569 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.7031, allocations: 0.7098 MB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.7032, allocations: 1.062 kB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.7032, allocations: 7.938 kB / 0.9576 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.7032, allocations: 9.203 kB / 0.9576 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.7037, allocations: 105.4 kB / 0.9577 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.7039, allocations: 78.58 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.704, allocations: 8.422 kB / 0.9578 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.7041, allocations: 33.34 kB / 0.9578 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.7041, allocations: 39.95 kB / 0.9579 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.7042, allocations: 3.25 kB / 0.9579 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.7043, allocations: 93.66 kB / 0.958 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.7044, allocations: 14.69 kB / 0.958 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.7044, allocations: 54 kB / 0.958 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.7046, allocations: 99.2 kB / 0.9581 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7046, allocations: 0 / 0.9581 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7046, allocations: 3.938 kB / 0.9581 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7046, allocations: 0.9375 kB / 0.9581 GB, free: 5.797 MB / 0.7169 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.0005272/0.7052, allocations: 412.7 kB / 0.9585 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.7052, allocations: 10 kB / 0.9585 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.7053, allocations: 7.812 kB / 0.9585 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.531e-05/0.7053, allocations: 173.1 kB / 0.9587 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.7054, allocations: 2.469 kB / 0.9587 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.7054, allocations: 3.5 kB / 0.9587 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.7056, allocations: 74.94 kB / 0.9588 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.7056, allocations: 9.844 kB / 0.9588 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.7056, allocations: 3.984 kB / 0.9588 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7056, allocations: 0 / 0.9588 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.7058, allocations: 42.19 kB / 0.9588 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.7063, allocations: 326.6 kB / 0.9591 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.7064, allocations: 47.41 kB / 0.9592 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.7065, allocations: 38.03 kB / 0.9592 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.7065, allocations: 5.5 kB / 0.9592 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.7067, allocations: 79.66 kB / 0.9593 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.7067, allocations: 3.938 kB / 0.9593 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003908/0.7071, allocations: 150.7 kB / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.7072, allocations: 55.39 kB / 0.9595 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.7072, allocations: 117.5 kB / 0.9596 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.7073, allocations: 34.92 kB / 0.9596 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.7073, allocations: 94.53 kB / 0.9597 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.7073, allocations: 14.38 kB / 0.9597 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.7074, allocations: 18.34 kB / 0.9598 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.7074, allocations: 324.1 kB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.7075, allocations: 29.86 kB / 0.9601 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.7076, allocations: 51.17 kB / 0.9602 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.7078, allocations: 82.23 kB / 0.9602 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7078, allocations: 1.375 kB / 0.9602 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002472/0.708, allocations: 117.8 kB / 0.9603 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7081, allocations: 6.594 kB / 0.9604 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7081, allocations: 5.828 kB / 0.9604 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7081, allocations: 5.375 kB / 0.9604 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.7082, allocations: 13.61 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.7082, allocations: 1.375 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.7083, allocations: 13.44 kB / 0.9604 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.7083, allocations: 6.734 kB / 0.9604 GB, free: 3.66 MB / 0.7169 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 8.394e-05/0.7084, allocations: 117.9 kB / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.7084, allocations: 11.97 kB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.7085, allocations: 13.75 kB / 0.9605 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7085, allocations: 5.312 kB / 0.9605 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.7085, allocations: 0 / 0.9605 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.7085, allocations: 7.922 kB / 0.9605 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.7089, allocations: 380.5 kB / 0.9609 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7089, allocations: 0 / 0.9609 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.709, allocations: 12.73 kB / 0.9609 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.709, allocations: 1.344 kB / 0.9609 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.709, allocations: 5.656 kB / 0.9609 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.709, allocations: 3.938 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.709, allocations: 3.938 kB / 0.9609 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.7093, allocations: 215.1 kB / 0.9611 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.7093, allocations: 82.55 kB / 0.9612 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.7093, allocations: 1.875 kB / 0.9612 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.7094, allocations: 11.77 kB / 0.9612 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.7095, allocations: 6.594 kB / 0.9612 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.7095, allocations: 2.594 kB / 0.9612 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.7096, allocations: 92.58 kB / 0.9613 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7096, allocations: 0.6562 kB / 0.9613 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003129/0.7099, allocations: 43.67 kB / 0.9614 GB, free: 2.746 MB / 0.7169 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.000386/0.7103, allocations: 164 kB / 0.9615 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.7105, allocations: 84.67 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7106, allocations: 0 / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.7107, allocations: 43.22 kB / 0.9616 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.7109, allocations: 6.188 kB / 0.9617 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.7113, allocations: 236.2 kB / 0.9619 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.7114, allocations: 0.6887 MB / 0.9626 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.7115, allocations: 10.19 kB / 0.9626 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7115, allocations: 0 / 0.9626 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of Templates: time 0.003/0.7145, allocations: 1.61 MB / 0.9641 GB, free: 0.8164 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches