Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 71.91 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3413, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002001/0.3433, allocations: 0.7062 MB / 1.215 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3444, allocations: 0.8857 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.3444, allocations: 0 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.3444, allocations: 0 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.3445, allocations: 15.8 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.3447, allocations: 15.98 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.3448, allocations: 35.92 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3449, allocations: 15.97 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.3449, allocations: 23.86 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.345, allocations: 19.92 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.345, allocations: 4 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.345, allocations: 8 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.3451, allocations: 7.984 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3451, allocations: 15.88 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3452, allocations: 43.8 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3452, allocations: 0 / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3452, allocations: 0 / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3452, allocations: 0 / 1.216 GB, free: 15.08 MB / 0.9669 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.0005901/0.3458, allocations: 367.3 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3458, allocations: 12.03 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.3459, allocations: 8.891 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.346, allocations: 168.3 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.346, allocations: 384 / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.346, allocations: 384 / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.3463, allocations: 78.14 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3463, allocations: 192 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3463, allocations: 3.938 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3463, allocations: 7.938 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.3466, allocations: 63.92 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.347, allocations: 260.9 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3473, allocations: 66.45 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.3474, allocations: 44.84 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3474, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3475, allocations: 34.56 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3475, allocations: 0 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005759/0.348, allocations: 125.6 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.3481, allocations: 55.39 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.3482, allocations: 101.9 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3482, allocations: 29.7 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.3483, allocations: 88.12 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3483, allocations: 7.906 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3483, allocations: 21.72 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3485, allocations: 314.8 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.3487, allocations: 35.91 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3488, allocations: 27.97 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3491, allocations: 72.78 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3491, allocations: 7.875 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003381/0.3494, allocations: 97.61 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3494, allocations: 4 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3494, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3495, allocations: 4 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3496, allocations: 15.98 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3496, allocations: 3.938 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.3497, allocations: 15.98 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3497, allocations: 0 / 1.218 GB, free: 12.75 MB / 0.9669 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.269e-05/0.3498, allocations: 113.8 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3498, allocations: 7.938 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.3499, allocations: 11.91 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3499, allocations: 4 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3499, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3499, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.3501, allocations: 173.6 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3501, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.3502, allocations: 19.91 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3502, allocations: 4 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3502, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3502, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3502, allocations: 4 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.3506, allocations: 199.3 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.3506, allocations: 89.41 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3507, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3508, allocations: 11.98 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.3508, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3508, allocations: 3.984 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.3509, allocations: 91.27 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3509, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002183/0.3511, allocations: 4 kB / 1.219 GB, free: 11.92 MB / 0.9669 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.0001613/0.3513, allocations: 99.25 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.3516, allocations: 75.92 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3516, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.3518, allocations: 39.89 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.3521, allocations: 10.36 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.3525, allocations: 166.8 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3529, allocations: 0.6768 MB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.3529, allocations: 15.38 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3529, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of Templates: time 0.002372/0.3553, allocations: 0.748 MB / 1.22 GB, free: 10.05 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.281640872126445]