Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Herkel2008WindowsCompletelyOpen,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.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_10_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.001729/0.001729, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001806/0.001806, allocations: 189.8 kB / 17.2 MB, free: 5.953 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: 222.9 MB / 240.9 MB, free: 15.21 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.528/2.528, allocations: 437.1 MB / 0.711 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 71.58 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3272, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003089/0.3303, allocations: 1.498 MB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3317, allocations: 0.7376 MB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.3318, allocations: 0 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.3318, allocations: 3.938 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.3319, allocations: 15.84 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.3325, allocations: 123.6 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3327, allocations: 75.83 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.3328, allocations: 12 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3329, allocations: 39.84 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.333, allocations: 39.83 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.333, allocations: 4 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.3332, allocations: 95.91 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.3333, allocations: 23.84 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.3333, allocations: 27.86 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3336, allocations: 147.8 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3336, allocations: 0 / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3336, allocations: 0 / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3336, allocations: 4 kB / 1.021 GB, free: 7.758 MB / 0.795 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.0007081/0.3343, allocations: 417 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3344, allocations: 8.922 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.3344, allocations: 8.844 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3346, allocations: 172.2 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3346, allocations: 4.375 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3346, allocations: 4.375 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3349, allocations: 77.95 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3349, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3349, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3349, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.335, allocations: 43.89 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.3357, allocations: 312.8 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3358, allocations: 46.56 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.3359, allocations: 32.97 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.336, allocations: 7.938 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.3362, allocations: 79.31 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3362, allocations: 4 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004038/0.3366, allocations: 137.6 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.3367, allocations: 55.39 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3368, allocations: 121.8 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3368, allocations: 25.7 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.3369, allocations: 92.12 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3369, allocations: 19.75 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.337, allocations: 33.7 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3371, allocations: 318.8 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.3372, allocations: 27.97 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.3373, allocations: 46.5 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3375, allocations: 74.55 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3375, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002481/0.3377, allocations: 113.5 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3378, allocations: 8 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3378, allocations: 0 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3378, allocations: 0 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.3379, allocations: 15.92 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3379, allocations: 4.391 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.338, allocations: 11.97 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.338, allocations: 7.938 kB / 1.023 GB, free: 5.223 MB / 0.795 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.0001058/0.3381, allocations: 122.4 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.3381, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.3382, allocations: 20.3 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3382, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3382, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3382, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.3387, allocations: 394.2 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3387, allocations: 0 / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.3387, allocations: 4 kB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3388, allocations: 4 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3388, allocations: 7.984 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3388, allocations: 0 / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3388, allocations: 3.938 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3391, allocations: 215.3 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.3391, allocations: 81.11 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3392, allocations: 3.984 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.3393, allocations: 4 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.3393, allocations: 19.91 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3393, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.3394, allocations: 91.27 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3394, allocations: 8 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002974/0.3397, allocations: 36 kB / 1.024 GB, free: 4.125 MB / 0.795 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.0003832/0.3401, allocations: 155.4 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3403, allocations: 75.89 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3404, allocations: 4.125 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.3405, allocations: 39.92 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3407, allocations: 9.672 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.3412, allocations: 214 kB / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.3415, allocations: 0.6885 MB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.3415, allocations: 11.44 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3415, allocations: 0 / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of Templates: time 0.003698/0.3452, allocations: 1.62 MB / 1.027 GB, free: 1.266 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches