Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000815/0.000815, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001968, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001057/0.001057, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.00245, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 1.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0886/1.144, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.84/1.84, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4653/2.305, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.157e-05, allocations: 7.531 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001012/0.001024, allocations: 0.7128 MB / 0.73 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.001707, allocations: 0.8872 MB / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.001742, allocations: 0.5938 kB / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.001787, allocations: 4.703 kB / 0.7309 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.998e-05/0.001807, allocations: 6.172 kB / 0.7309 GB, free: 2.926 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.853e-05/0.001886, allocations: 20.55 kB / 0.7309 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.001958, allocations: 37.08 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.002031, allocations: 12.97 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.0021, allocations: 24 kB / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.002163, allocations: 12.86 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.002185, allocations: 4 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.002196, allocations: 4 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.002238, allocations: 6.297 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.002267, allocations: 9.641 kB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.43e-05/0.002341, allocations: 28.69 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.002356, allocations: 3.984 kB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002356, allocations: 0 / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.002371, allocations: 0 / 0.7311 GB, free: 2.785 MB / 0.698 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.000336/0.002707, allocations: 241.4 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.002735, allocations: 12.53 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.002761, allocations: 4.922 kB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.002868, allocations: 119.9 kB / 0.7314 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.002887, allocations: 4.375 kB / 0.7314 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.002896, allocations: 4.375 kB / 0.7314 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.003002, allocations: 63.59 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003008, allocations: 192 / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.003015, allocations: 1.062 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.003021, allocations: 384 / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.003051, allocations: 22.39 kB / 0.7315 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.003261, allocations: 174.9 kB / 0.7317 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.003305, allocations: 18.58 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.00332, allocations: 9.734 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.003332, allocations: 0.5 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.00335, allocations: 30.56 kB / 0.7317 GB, free: 2.004 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.003351, allocations: 0.5625 kB / 0.7317 GB, free: 2.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001045/0.003455, allocations: 55.33 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.003481, allocations: 51.41 kB / 0.7318 GB, free: 1.883 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.003533, allocations: 115.6 kB / 0.7319 GB, free: 1.758 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.003541, allocations: 25.7 kB / 0.732 GB, free: 1.727 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.003569, allocations: 85.08 kB / 0.732 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.003582, allocations: 4.578 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.003607, allocations: 19.38 kB / 0.7321 GB, free: 1.613 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.003706, allocations: 322.8 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.003715, allocations: 1.75 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.003724, allocations: 4 kB / 0.7324 GB, free: 1.285 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.00375, allocations: 15.67 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.003752, allocations: 0.5938 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.646e-05/0.003788, allocations: 38.64 kB / 0.7324 GB, free: 1.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.003801, allocations: 14.75 kB / 0.7324 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.003805, allocations: 0 / 0.7324 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.003814, allocations: 1.625 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.003878, allocations: 9.109 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.00388, allocations: 0 / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.003895, allocations: 4 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.003898, allocations: 0.7188 kB / 0.7325 GB, free: 1.199 MB / 0.698 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 6.294e-05/0.003961, allocations: 117.2 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.003973, allocations: 4.922 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.003993, allocations: 11.25 kB / 0.7326 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.003994, allocations: 4 kB / 0.7326 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.003996, allocations: 0.5 kB / 0.7326 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003999, allocations: 1.531 kB / 0.7326 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.004082, allocations: 69.88 kB / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004082, allocations: 0 / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.004107, allocations: 13.53 kB / 0.7327 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.004113, allocations: 3.984 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.004114, allocations: 0 / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.004118, allocations: 4.594 kB / 0.7327 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.004119, allocations: 4.562 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.00412, allocations: 1.156 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.771e-05/0.004188, allocations: 127.5 kB / 0.7328 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.004199, allocations: 0.9375 kB / 0.7328 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.004231, allocations: 4 kB / 0.7328 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.004267, allocations: 15.86 kB / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.004269, allocations: 5.5 kB / 0.7328 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.161e-05/0.00428, allocations: 12.86 kB / 0.7328 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.00428, allocations: 0 / 0.7328 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001129/0.004393, allocations: 5.031 kB / 0.7329 GB, free: 0.7578 MB / 0.698 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 6.985e-05/0.004463, allocations: 80.97 kB / 0.7329 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.05e-05/0.004524, allocations: 22.55 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.004528, allocations: 3.984 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.004545, allocations: 8.859 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.004668, allocations: 13.2 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.005024, allocations: 127.3 kB / 0.7331 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.005062, allocations: 60.09 kB / 0.7332 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.00509, allocations: 1.375 kB / 0.7332 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.00514, allocations: 55.38 kB / 0.7332 GB, free: 340 kB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/0.00514, allocations: 1.031 kB / 0.7332 GB, free: 340 kB / 0.698 GB Notification: Performance of Templates: time 0.00208/0.00722, allocations: 0.6699 MB / 0.7339 GB, free: 15.68 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.886315140873194]