Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, 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.001357/0.001357, allocations: 172.9 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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.352 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.502/2.502, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7439, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008537/0.7448, allocations: 441 kB / 0.9562 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008677/0.7456, allocations: 0.8619 MB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.7457, allocations: 1.281 kB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.7457, allocations: 4 kB / 0.957 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.7458, allocations: 5.125 kB / 0.957 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.7459, allocations: 11.48 kB / 0.957 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.746, allocations: 48.55 kB / 0.9571 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7461, allocations: 9.688 kB / 0.9571 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.7462, allocations: 16.83 kB / 0.9571 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.7463, allocations: 21.36 kB / 0.9571 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.7463, allocations: 2.344 kB / 0.9571 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.7463, allocations: 5.156 kB / 0.9571 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.7463, allocations: 5.062 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.7464, allocations: 41 kB / 0.9572 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.075e-05/0.7464, allocations: 33.86 kB / 0.9572 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7464, allocations: 0 / 0.9572 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7465, allocations: 0 / 0.9572 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.7465, allocations: 1.062 kB / 0.9572 GB, free: 6.559 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.0004116/0.7469, allocations: 367.8 kB / 0.9575 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.7469, allocations: 9.406 kB / 0.9576 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.747, allocations: 10.11 kB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.747, allocations: 167.7 kB / 0.9577 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.7471, allocations: 1.594 kB / 0.9577 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.7471, allocations: 1.5 kB / 0.9577 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.7473, allocations: 85.06 kB / 0.9578 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7474, allocations: 192 / 0.9578 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.7474, allocations: 5.125 kB / 0.9578 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7474, allocations: 0 / 0.9578 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.7477, allocations: 91.58 kB / 0.9579 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.748, allocations: 267.3 kB / 0.9582 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.7482, allocations: 74.53 kB / 0.9582 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.7484, allocations: 49.02 kB / 0.9583 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.7484, allocations: 0 / 0.9583 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.7485, allocations: 31.62 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.7485, allocations: 0 / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005796/0.7491, allocations: 167.8 kB / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.7491, allocations: 52.59 kB / 0.9585 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.7492, allocations: 106.9 kB / 0.9586 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.7492, allocations: 31.11 kB / 0.9586 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.7492, allocations: 89.73 kB / 0.9587 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.7492, allocations: 13.23 kB / 0.9587 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.7493, allocations: 13.72 kB / 0.9588 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.7493, allocations: 316 kB / 0.9591 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.7495, allocations: 43.89 kB / 0.9591 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.7496, allocations: 43.25 kB / 0.9591 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.7499, allocations: 90.19 kB / 0.9592 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7499, allocations: 5.406 kB / 0.9592 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003325/0.7503, allocations: 116.4 kB / 0.9593 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7503, allocations: 6.906 kB / 0.9593 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7503, allocations: 0 / 0.9593 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7503, allocations: 1.375 kB / 0.9593 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.7505, allocations: 34.97 kB / 0.9594 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7505, allocations: 0 / 0.9594 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.7506, allocations: 20.36 kB / 0.9594 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.7506, allocations: 0 / 0.9594 GB, free: 4.574 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.7506, allocations: 112.5 kB / 0.9595 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.7507, allocations: 9.219 kB / 0.9595 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.7507, allocations: 13.25 kB / 0.9595 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7507, allocations: 1.344 kB / 0.9595 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7507, allocations: 0 / 0.9595 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7507, allocations: 0 / 0.9595 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.7508, allocations: 173.7 kB / 0.9597 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7509, allocations: 0 / 0.9597 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.751, allocations: 19.86 kB / 0.9597 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.751, allocations: 3.938 kB / 0.9597 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.751, allocations: 4.906 kB / 0.9597 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.751, allocations: 0 / 0.9597 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.751, allocations: 0.9688 kB / 0.9597 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.7514, allocations: 219.3 kB / 0.9599 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.7514, allocations: 82.52 kB / 0.96 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.7514, allocations: 5.062 kB / 0.96 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.7515, allocations: 19.02 kB / 0.96 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.7516, allocations: 6.547 kB / 0.96 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.7516, allocations: 1.344 kB / 0.96 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.7516, allocations: 89.3 kB / 0.9601 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7516, allocations: 0 / 0.9601 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002175/0.7518, allocations: 6.781 kB / 0.9601 GB, free: 3.844 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 (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.0001233/0.752, allocations: 98 kB / 0.9602 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.7523, allocations: 90.14 kB / 0.9603 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7524, allocations: 4 kB / 0.9603 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.7525, allocations: 46.34 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.7528, allocations: 19.27 kB / 0.9604 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.7531, allocations: 157.4 kB / 0.9605 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.7533, allocations: 0.6804 MB / 0.9612 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.7533, allocations: 8.625 kB / 0.9612 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.7533, allocations: 0 / 0.9612 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.00213/0.7554, allocations: 0.7401 MB / 0.9619 GB, free: 2.449 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches