Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001759/0.001759, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002264/0.002264, allocations: 186 kB / 20.78 MB, free: 1.547 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.626/1.626, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.84/2.84, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] 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.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.89 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3402, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001971/0.3422, allocations: 0.6561 MB / 1.217 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3433, allocations: 0.8429 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.3433, allocations: 3.938 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.833e-05/0.3434, allocations: 3.984 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.357e-05/0.3434, allocations: 7.922 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.3436, allocations: 19.92 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.325e-05/0.3437, allocations: 31.98 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3438, allocations: 7.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.3438, allocations: 23.86 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.3439, allocations: 15.97 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3439, allocations: 4 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.3439, allocations: 8 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.344, allocations: 11.92 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.344, allocations: 11.94 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3442, allocations: 43.8 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3442, allocations: 0 / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3442, allocations: 0 / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3442, allocations: 3.938 kB / 1.218 GB, free: 13.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005769/0.3448, allocations: 355.3 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3448, allocations: 8.031 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3448, allocations: 8.938 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.345, allocations: 164.4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.345, allocations: 4.375 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3451, allocations: 4.375 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.3453, allocations: 70.16 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3453, allocations: 192 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3453, allocations: 3.938 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3453, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.3455, allocations: 47.95 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.3459, allocations: 284.7 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3461, allocations: 38.56 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.3462, allocations: 24.89 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3462, allocations: 4 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3462, allocations: 34.56 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3462, allocations: 0 / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004118/0.3466, allocations: 89.53 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3467, allocations: 51.41 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3468, allocations: 114 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3468, allocations: 25.7 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.3469, allocations: 80.14 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3469, allocations: 15.95 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3469, allocations: 21.7 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3471, allocations: 314.8 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.3472, allocations: 15.98 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.3472, allocations: 23.97 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3474, allocations: 40.83 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3474, allocations: 0 / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002191/0.3476, allocations: 73.58 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3476, allocations: 8 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3476, allocations: 96 / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3477, allocations: 4 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3478, allocations: 7.984 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3478, allocations: 7.984 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.3478, allocations: 7.953 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3478, allocations: 256 / 1.22 GB, free: 11.51 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001597/0.348, allocations: 125.7 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.348, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.348, allocations: 7.125 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.348, allocations: 8 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.348, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.348, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3482, allocations: 165.6 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.3482, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.3483, allocations: 7.984 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3483, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3483, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3483, allocations: 4 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3483, allocations: 3.984 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3486, allocations: 172.4 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.3486, allocations: 85.05 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3487, allocations: 4 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.3487, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.3488, allocations: 11.98 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3488, allocations: 4.031 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.3489, allocations: 83.28 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3489, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002313/0.3491, allocations: 11.94 kB / 1.22 GB, free: 10.73 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001539/0.3492, allocations: 99.23 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3495, allocations: 51.83 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3495, allocations: 4.062 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.3496, allocations: 19.98 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.3499, allocations: 4 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3503, allocations: 137.1 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3507, allocations: 0.6807 MB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.3508, allocations: 4.062 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.3508, allocations: 11.44 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.3508, allocations: 0 / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.003424/0.3543, allocations: 0.6186 MB / 1.222 GB, free: 9.047 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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: 8.89816562924534]