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.01105/0.01105, allocations: 102.7 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.002105/0.002105, allocations: 199.5 kB / 16.68 MB, free: 5.969 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.532/1.532, 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.726/2.726, allocations: 390.2 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 61.06 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.316, allocations: 140.4 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002026/0.318, allocations: 0.6998 MB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3193, allocations: 0.8744 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.3193, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.3194, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.3195, allocations: 11.88 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.3197, allocations: 15.97 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3198, allocations: 47.84 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.32, allocations: 7.984 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.3201, allocations: 23.94 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.3201, allocations: 23.84 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3202, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.3202, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.3202, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.3203, allocations: 19.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3204, allocations: 47.8 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3204, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3204, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3204, allocations: 0 / 1.09 GB, free: 15.62 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.0006196/0.321, allocations: 359.4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3211, allocations: 12.02 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.3211, allocations: 8.844 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3213, allocations: 168.3 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3213, allocations: 4.375 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3213, allocations: 384 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.3216, allocations: 78.16 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3216, allocations: 192 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3216, allocations: 3.938 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3216, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.3219, allocations: 63.92 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3223, allocations: 260.9 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3225, allocations: 66.47 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.3226, allocations: 40.86 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.3227, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3227, allocations: 34.56 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.3228, allocations: 4 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005627/0.3233, allocations: 129.7 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3234, allocations: 51.41 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.3235, allocations: 109.8 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3235, allocations: 33.64 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.3235, allocations: 84.14 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3236, allocations: 15.8 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.3236, allocations: 13.72 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3237, allocations: 322.7 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3239, allocations: 31.95 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.324, allocations: 31.97 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.3243, allocations: 68.78 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3243, allocations: 3.938 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002956/0.3246, allocations: 97.62 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3246, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3246, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3246, allocations: 4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3248, allocations: 15.97 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3248, allocations: 3.938 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.3249, allocations: 11.98 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3249, 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.082e-05/0.325, allocations: 121.8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.325, allocations: 3.906 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.325, allocations: 11.91 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.325, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3251, allocations: 3.984 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3251, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3252, allocations: 173.5 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3252, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.3253, allocations: 19.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3253, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3254, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3254, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3254, allocations: 3.984 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3257, allocations: 191.4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.3258, allocations: 89.02 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.3258, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3259, allocations: 15.98 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3259, allocations: 3.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.326, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.326, allocations: 91.27 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.326, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002535/0.3263, 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.0001324/0.3264, allocations: 99.78 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3268, allocations: 71.86 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3268, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.3269, allocations: 43.83 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.3272, allocations: 21.97 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.3276, allocations: 126 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3278, allocations: 0.6807 MB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.3279, allocations: 3.984 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.3279, allocations: 11.44 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3279, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of Templates: time 0.003182/0.3311, allocations: 0.7399 MB / 1.094 GB, free: 10.64 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