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.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.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.0007729/0.0007729, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006639/0.006639, allocations: 169.4 kB / 16.26 MB, free: 6.648 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.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.472/2.472, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 15.98 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.746, allocations: 142.4 MB / 0.955 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001688/0.7477, allocations: 1.217 MB / 0.9562 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.749, allocations: 0.7139 MB / 0.9569 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.7491, allocations: 5.125 kB / 0.9569 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.7491, allocations: 3.938 kB / 0.9569 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.7492, allocations: 5.281 kB / 0.9569 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.7498, allocations: 109.8 kB / 0.957 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.7499, allocations: 73.3 kB / 0.9571 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.75, allocations: 18.77 kB / 0.9571 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.7501, allocations: 31.12 kB / 0.9572 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.7502, allocations: 32.36 kB / 0.9572 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.7502, allocations: 3.5 kB / 0.9572 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.7505, allocations: 93.22 kB / 0.9573 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.7505, allocations: 10.92 kB / 0.9573 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.7506, allocations: 54.47 kB / 0.9573 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.7508, allocations: 134.3 kB / 0.9575 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7508, allocations: 0.9688 kB / 0.9575 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7508, allocations: 0 / 0.9575 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7508, allocations: 4 kB / 0.9575 GB, free: 6.008 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.0005593/0.7514, allocations: 417.8 kB / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7514, allocations: 8.781 kB / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.7515, allocations: 8.938 kB / 0.9579 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/0.7516, allocations: 171.2 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.7516, allocations: 3 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7517, allocations: 4.969 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.7518, allocations: 78.47 kB / 0.9581 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.7519, allocations: 0 / 0.9581 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.7519, allocations: 5.484 kB / 0.9581 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7519, allocations: 1.656 kB / 0.9581 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.752, allocations: 45.53 kB / 0.9582 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.7526, allocations: 324.8 kB / 0.9585 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.7527, allocations: 48.09 kB / 0.9585 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.7528, allocations: 37.94 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.7529, allocations: 1.406 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.753, allocations: 90 kB / 0.9587 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.7531, allocations: 0 / 0.9587 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003875/0.7535, allocations: 143.5 kB / 0.9588 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7535, allocations: 52.75 kB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.7536, allocations: 125.7 kB / 0.959 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.7536, allocations: 27.08 kB / 0.959 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.7536, allocations: 89.7 kB / 0.9591 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.7537, allocations: 18.45 kB / 0.9591 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.7537, allocations: 22.69 kB / 0.9591 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.7537, allocations: 323.9 kB / 0.9594 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.7538, allocations: 30.08 kB / 0.9595 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/0.7539, allocations: 63.61 kB / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.7541, allocations: 78.89 kB / 0.9596 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7541, allocations: 0 / 0.9596 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/0.7543, allocations: 122.6 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7544, allocations: 5.531 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7544, allocations: 1.062 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7544, allocations: 0.9688 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.7545, allocations: 17.67 kB / 0.9597 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7545, allocations: 1.062 kB / 0.9597 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.7546, allocations: 13.56 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.7546, allocations: 7.047 kB / 0.9598 GB, free: 3.863 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 7.278e-05/0.7547, allocations: 122.2 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.7547, allocations: 7.219 kB / 0.9599 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.7547, allocations: 9.594 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7547, allocations: 1.062 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7548, allocations: 1.125 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7548, allocations: 0 / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.7551, allocations: 393.1 kB / 0.9603 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7551, allocations: 0 / 0.9603 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.7552, allocations: 13.02 kB / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7552, allocations: 0 / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.7552, allocations: 1.344 kB / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.7552, allocations: 0 / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7552, allocations: 5.188 kB / 0.9603 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.7555, allocations: 218.2 kB / 0.9605 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.7555, allocations: 82.98 kB / 0.9606 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.7555, allocations: 5.969 kB / 0.9606 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.7556, allocations: 7.922 kB / 0.9606 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.7557, allocations: 7.031 kB / 0.9606 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.7557, allocations: 5.156 kB / 0.9606 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.7557, allocations: 97.2 kB / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7557, allocations: 0 / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003133/0.7561, allocations: 40.3 kB / 0.9607 GB, free: 2.953 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.0003344/0.7564, allocations: 166.8 kB / 0.9609 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.7566, allocations: 76.03 kB / 0.961 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7567, allocations: 0 / 0.961 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.7568, allocations: 43.33 kB / 0.961 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.757, allocations: 6.75 kB / 0.961 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.7574, allocations: 209.1 kB / 0.9612 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.7575, allocations: 0.6878 MB / 0.9619 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.7576, allocations: 4.125 kB / 0.9619 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.7576, allocations: 10.19 kB / 0.9619 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7576, allocations: 4 kB / 0.9619 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of Templates: time 0.004154/0.7618, allocations: 1.365 MB / 0.9632 GB, free: 1.18 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0