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.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.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.007143/0.007143, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.0014/0.001401, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.586/2.586, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 69.25 kB / 0.9509 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3312, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.00219/0.3335, allocations: 0.698 MB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3347, allocations: 0.8744 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.3347, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.3348, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.3349, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.3351, allocations: 19.95 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3352, allocations: 43.86 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3354, allocations: 19.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.3354, allocations: 15.98 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.3355, allocations: 19.86 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3355, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.3356, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.3356, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.3356, allocations: 23.86 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3357, allocations: 43.86 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3358, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3358, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3358, allocations: 4 kB / 1.09 GB, free: 15.64 MB / 0.8575 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.0005616/0.3363, allocations: 359.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3364, allocations: 12.03 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3364, allocations: 4.844 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3366, allocations: 172.3 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3366, allocations: 384 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3366, allocations: 4.375 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.3369, allocations: 82.14 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3369, allocations: 192 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.337, allocations: 3.938 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.337, allocations: 3.984 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.3373, allocations: 63.88 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.3377, allocations: 272.9 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3379, allocations: 58.41 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.3381, allocations: 36.92 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3381, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3382, allocations: 42.55 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3382, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005495/0.3387, allocations: 121.6 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3388, allocations: 55.41 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.3389, allocations: 113.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3389, allocations: 25.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.339, allocations: 92.12 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.339, allocations: 11.8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3391, allocations: 21.66 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3392, allocations: 310.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3393, allocations: 31.95 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3395, allocations: 35.97 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3398, allocations: 64.78 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3398, allocations: 7.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003182/0.3401, allocations: 97.62 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3401, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3401, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3401, allocations: 3.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3403, allocations: 19.97 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3403, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.3404, allocations: 15.98 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3404, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 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 9.774e-05/0.3405, allocations: 113.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3405, allocations: 7.906 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.3406, allocations: 7.906 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3406, allocations: 3.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3406, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3406, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3408, allocations: 173.5 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3408, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.3409, allocations: 19.98 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3409, allocations: 336 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3409, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.341, allocations: 3.984 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.341, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.3414, allocations: 199.3 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.3415, allocations: 85.02 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3415, allocations: 7.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3416, allocations: 15.97 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.3417, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3417, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001177/0.3418, allocations: 87.27 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3418, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002163/0.342, allocations: 8 kB / 1.092 GB, free: 12.48 MB / 0.8575 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.000154/0.3422, allocations: 107.7 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.3425, allocations: 63.92 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3425, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.3427, allocations: 47.89 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.343, allocations: 7.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.3434, allocations: 125.6 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.3437, allocations: 0.6768 MB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.3437, allocations: 7.984 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.3438, allocations: 7.438 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3438, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of Templates: time 0.003033/0.3468, allocations: 0.7193 MB / 1.094 GB, free: 10.66 MB / 0.8575 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/jenkins/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