Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00152/0.00152, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.434 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.702/2.702, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 12 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.855/0.8553, allocations: 142.4 MB / 0.9545 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.0009603/0.8564, allocations: 427.2 kB / 0.9549 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000833/0.8572, allocations: 0.7993 MB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.8573, allocations: 1.094 kB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.8573, allocations: 0 / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.8574, allocations: 13.11 kB / 0.9557 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.8575, allocations: 6.188 kB / 0.9557 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.8576, allocations: 42.62 kB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.8578, allocations: 7.062 kB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.8578, allocations: 13.67 kB / 0.9557 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.8579, allocations: 17.52 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.8579, allocations: 2.188 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.8579, allocations: 1.125 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.858, allocations: 13.09 kB / 0.9558 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.858, allocations: 31.8 kB / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.8581, allocations: 25.84 kB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8581, allocations: 1 kB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8581, allocations: 0 / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8581, allocations: 3.938 kB / 0.9558 GB, free: 6.668 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004538/0.8586, allocations: 369.1 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8586, allocations: 8.812 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.8587, allocations: 14.02 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.8587, allocations: 169 kB / 0.9563 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.8588, allocations: 1.156 kB / 0.9564 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.8588, allocations: 5.328 kB / 0.9564 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.859, allocations: 80.69 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.859, allocations: 0 / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.8591, allocations: 1.344 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8591, allocations: 0 / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.8593, allocations: 91.53 kB / 0.9565 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.8597, allocations: 274.4 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.8599, allocations: 70.69 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.86, allocations: 48.92 kB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.8601, allocations: 1.406 kB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.8601, allocations: 30.56 kB / 0.9569 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.8601, allocations: 0 / 0.9569 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004941/0.8606, allocations: 170.9 kB / 0.9571 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.8606, allocations: 52.38 kB / 0.9571 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.8607, allocations: 111.6 kB / 0.9572 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.8607, allocations: 25.7 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.8607, allocations: 81.98 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.8608, allocations: 21.7 kB / 0.9574 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.8608, allocations: 0 / 0.9574 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.8609, allocations: 312.1 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.861, allocations: 43.25 kB / 0.9577 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.8611, allocations: 47.36 kB / 0.9578 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.8613, allocations: 39.12 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8613, allocations: 0 / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003049/0.8616, allocations: 121.7 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8616, allocations: 8.422 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8616, allocations: 4 kB / 0.9579 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8617, allocations: 5.359 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.8618, allocations: 19.02 kB / 0.9579 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8618, allocations: 0 / 0.9579 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.8619, allocations: 20.33 kB / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.8619, allocations: 0 / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.862, allocations: 113.7 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.862, allocations: 9.625 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.8624, allocations: 134.8 kB / 0.9582 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8624, allocations: 0 / 0.9582 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.8624, allocations: 9.047 kB / 0.9582 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.8624, allocations: 0 / 0.9582 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.8625, allocations: 169.6 kB / 0.9584 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8625, allocations: 1.219 kB / 0.9584 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.8626, allocations: 22.17 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8627, allocations: 1.375 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.8627, allocations: 3.984 kB / 0.9584 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.8627, allocations: 1.375 kB / 0.9584 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8627, allocations: 0 / 0.9584 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.863, allocations: 219.6 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.8631, allocations: 82.17 kB / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8631, allocations: 1.281 kB / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.8632, allocations: 22.69 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.8632, allocations: 2.719 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.8633, allocations: 1.188 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.8633, allocations: 97.06 kB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8633, allocations: 0 / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000222/0.8635, allocations: 6.438 kB / 0.9588 GB, free: 3.918 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.8637, allocations: 105 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.864, allocations: 94.02 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.864, allocations: 0 / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.8642, allocations: 46.7 kB / 0.9591 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.8645, allocations: 9.531 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.8648, allocations: 134.3 kB / 0.9592 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.865, allocations: 0.6799 MB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.865, allocations: 2.125 kB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.865, allocations: 16.7 kB / 0.9599 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.865, allocations: 0 / 0.9599 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.002449/0.8675, allocations: 0.5218 MB / 0.9604 GB, free: 2.645 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches