Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 91.67 kB / 20.95 MB, free: 3.305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003056/0.003056, allocations: 159.7 kB / 24.38 MB, free: 9.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9925/0.9925, allocations: 177.1 MB / 204.8 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.825/1.825, allocations: 389.6 MB / 0.6356 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7756 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.197e-05, allocations: 4.984 kB / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001112/0.001124, allocations: 0.7263 MB / 0.7763 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.001846, allocations: 0.8753 MB / 0.7771 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.001887, allocations: 3.156 kB / 0.7771 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.983e-05/0.001977, allocations: 8.75 kB / 0.7771 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.456e-05/0.002002, allocations: 5.906 kB / 0.7772 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.002136, allocations: 15.97 kB / 0.7772 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.002198, allocations: 31.7 kB / 0.7772 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.002267, allocations: 7.938 kB / 0.7772 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.002323, allocations: 22.5 kB / 0.7772 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.002372, allocations: 16.78 kB / 0.7772 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.002388, allocations: 7.875 kB / 0.7772 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.002398, allocations: 4 kB / 0.7773 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.002438, allocations: 13.62 kB / 0.7773 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.002459, allocations: 4.984 kB / 0.7773 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.935e-05/0.002528, allocations: 30.58 kB / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.00253, allocations: 0 / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.00253, allocations: 0 / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.002533, allocations: 0 / 0.7773 GB, free: 3.395 MB / 0.7292 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.0002433/0.002776, allocations: 245.8 kB / 0.7775 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.002802, allocations: 13.34 kB / 0.7775 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.002823, allocations: 4.594 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.002923, allocations: 117.8 kB / 0.7777 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.002935, allocations: 384 / 0.7777 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.002945, allocations: 5.141 kB / 0.7777 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.005e-05/0.003035, allocations: 62.88 kB / 0.7777 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.00304, allocations: 4.188 kB / 0.7777 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.003047, allocations: 384 / 0.7777 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003051, allocations: 384 / 0.7777 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.003073, allocations: 11.92 kB / 0.7777 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.003249, allocations: 177.7 kB / 0.7779 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.003287, allocations: 19.23 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.003302, allocations: 12.91 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.003311, allocations: 0 / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.00333, allocations: 34.56 kB / 0.778 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 5.11e-07/0.003331, allocations: 0 / 0.778 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.018e-05/0.003421, allocations: 46.89 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.003448, allocations: 55.94 kB / 0.7781 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.494e-05/0.003493, allocations: 103.9 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.003501, allocations: 25.7 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.003528, allocations: 96.02 kB / 0.7783 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.00354, allocations: 8.938 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.003562, allocations: 21.72 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.003624, allocations: 314.8 kB / 0.7786 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.003633, allocations: 4.578 kB / 0.7786 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.00364, allocations: 4.531 kB / 0.7786 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.003664, allocations: 12.62 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.003665, allocations: 0 / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.43e-05/0.0037, allocations: 42.5 kB / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.003712, allocations: 13.38 kB / 0.7787 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.003715, allocations: 0 / 0.7787 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.003722, allocations: 0 / 0.7787 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.003772, allocations: 7.984 kB / 0.7787 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.003774, allocations: 0.6562 kB / 0.7787 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.00379, allocations: 4 kB / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.003793, allocations: 0.6875 kB / 0.7787 GB, free: 1.809 MB / 0.7292 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 4.94e-05/0.003843, allocations: 114.4 kB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.003854, allocations: 4 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.003869, allocations: 11.25 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.00387, allocations: 3.984 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.003872, allocations: 1.312 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.003874, allocations: 0 / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.709e-05/0.003941, allocations: 69.91 kB / 0.7789 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.003941, allocations: 0.5625 kB / 0.7789 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.00396, allocations: 7.984 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.003961, allocations: 5.188 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-06/0.003965, allocations: 0 / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.003965, allocations: 0 / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.003967, allocations: 4.438 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.649e-05/0.004023, allocations: 132.4 kB / 0.779 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.004028, allocations: 11.94 kB / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.004037, allocations: 8.859 kB / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/0.004066, allocations: 7.984 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.004095, allocations: 4.5 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.004098, allocations: 1.75 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.413e-05/0.004112, allocations: 16.83 kB / 0.7791 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004112, allocations: 0 / 0.7791 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001093/0.004221, allocations: 12 kB / 0.7791 GB, free: 1.363 MB / 0.7292 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 5.815e-05/0.00428, allocations: 77.58 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.782e-05/0.004327, allocations: 13.73 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.004329, allocations: 4 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.004345, allocations: 13.88 kB / 0.7792 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.004451, allocations: 6.062 kB / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.004633, allocations: 136.2 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.736e-05/0.00466, allocations: 60.19 kB / 0.7794 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.004678, allocations: 0.6562 kB / 0.7794 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.004716, allocations: 52.12 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/0.004716, allocations: 0 / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of Templates: time 0.001724/0.00644, allocations: 0.6489 MB / 0.7801 GB, free: 336 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.783437357284129]