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.001135/0.001135, allocations: 100.1 kB / 15.88 MB, free: 12 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.001186/0.001186, allocations: 198.5 kB / 16.79 MB, free: 6.809 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.33/1.33, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.384/2.384, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 63.88 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7021, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002595/0.7048, allocations: 1.555 MB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.7059, allocations: 0.7254 MB / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.706, allocations: 0 / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.706, allocations: 3.938 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.287e-05/0.7061, allocations: 10.67 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.7066, allocations: 108.6 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.7067, allocations: 74.02 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.7068, allocations: 13.48 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.7068, allocations: 33.59 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.7069, allocations: 38.83 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.7069, allocations: 4.125 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.7071, allocations: 94.47 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.7071, allocations: 14.73 kB / 0.9522 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.7072, allocations: 32.09 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.7073, allocations: 103.7 kB / 0.9523 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7074, allocations: 0 / 0.9523 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7074, allocations: 0 / 0.9523 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.7074, allocations: 1.156 kB / 0.9523 GB, free: 7.023 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.0005376/0.7079, allocations: 424 kB / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.708, allocations: 9 kB / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.708, allocations: 4.375 kB / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.7081, allocations: 175.4 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.7081, allocations: 7.203 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.7081, allocations: 4.188 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.7083, allocations: 72.88 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7083, allocations: 0 / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.7084, allocations: 0 / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7084, allocations: 1.281 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.7085, allocations: 40.25 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.709, allocations: 322 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.7092, allocations: 45.5 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.7092, allocations: 34.5 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.7093, allocations: 5.344 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.7095, allocations: 89.41 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7095, allocations: 0 / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004222/0.7099, allocations: 136.3 kB / 0.9536 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.7099, allocations: 53.62 kB / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.71, allocations: 121.3 kB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.71, allocations: 31.11 kB / 0.9538 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.7101, allocations: 90.81 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.7101, allocations: 14.5 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.7102, allocations: 29.83 kB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.7102, allocations: 324.1 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.7103, allocations: 22.92 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.7104, allocations: 52.59 kB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.7106, allocations: 73.53 kB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7106, allocations: 0 / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002242/0.7108, allocations: 117.7 kB / 0.9545 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7108, allocations: 8.938 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7108, allocations: 1.375 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7109, allocations: 5.328 kB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.711, allocations: 16.36 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.711, allocations: 1.219 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.711, allocations: 11.78 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.7111, allocations: 7.406 kB / 0.9546 GB, free: 4.875 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 6.572e-05/0.7111, allocations: 121.9 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.7112, allocations: 11.19 kB / 0.9547 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.7112, allocations: 10.81 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7112, allocations: 3.938 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7112, allocations: 0.9375 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.7112, allocations: 0 / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.7116, allocations: 383.2 kB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7116, allocations: 0 / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.7116, allocations: 8.172 kB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.7116, allocations: 4 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.7117, allocations: 1.312 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7117, allocations: 1.375 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7117, allocations: 3.938 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.7119, allocations: 205.7 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.712, allocations: 86.12 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.712, allocations: 1.406 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.7121, allocations: 6.781 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.7121, allocations: 14.64 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.7121, allocations: 2.25 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.7122, allocations: 93.8 kB / 0.9555 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7122, allocations: 0 / 0.9555 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002976/0.7125, allocations: 35.28 kB / 0.9555 GB, free: 3.973 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.0003226/0.7128, allocations: 171.5 kB / 0.9557 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.713, allocations: 70.09 kB / 0.9557 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7131, allocations: 0 / 0.9557 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.556e-05/0.7132, allocations: 33 kB / 0.9558 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.7134, allocations: 15.08 kB / 0.9558 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.7138, allocations: 217.7 kB / 0.956 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.7139, allocations: 0.6926 MB / 0.9567 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.714, allocations: 10.97 kB / 0.9567 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.714, allocations: 0 / 0.9567 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.003306/0.7173, allocations: 1.613 MB / 0.9583 GB, free: 2.051 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