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.001433/0.001433, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002672/0.002672, allocations: 213.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.541/3.541, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|intRep.y.2.|intRep.y.3.",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.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003348/0.003348, allocations: 66.92 kB / 1.154 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5124, allocations: 176.1 MB / 1.326 GB, free: 2.078 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002964/0.5154, allocations: 0.6658 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.517, allocations: 0.8631 MB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.5171, allocations: 0 / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.5172, allocations: 3.938 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.5172, allocations: 3.938 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.5175, allocations: 19.92 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.5176, allocations: 35.92 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.5178, allocations: 11.92 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.5179, allocations: 19.92 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.5179, allocations: 11.92 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.518, allocations: 4 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.518, allocations: 4 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.5181, allocations: 11.98 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.5181, allocations: 11.88 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.5182, allocations: 39.86 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5183, allocations: 0 / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5183, allocations: 4 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.5183, allocations: 0 / 1.327 GB, free: 372 kB / 1.014 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.0006632/0.5189, allocations: 274.3 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.519, allocations: 8.031 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.519, allocations: 8.891 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.5193, allocations: 114.5 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.5193, allocations: 384 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.5193, allocations: 4.375 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.5196, allocations: 66.16 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5196, allocations: 4.188 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.5196, allocations: 7.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5196, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.5198, allocations: 43.95 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.5203, allocations: 228.3 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.5205, allocations: 38.56 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.5206, allocations: 24.89 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5206, allocations: 8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.5207, allocations: 30.56 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5207, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000525/0.5212, allocations: 85.58 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.5212, allocations: 55.41 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5214, allocations: 105.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.5214, allocations: 25.7 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.5215, allocations: 96.22 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.5215, allocations: 3.953 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.5215, allocations: 21.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.5217, allocations: 314.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.5218, allocations: 19.97 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/0.5219, allocations: 19.92 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5221, allocations: 52.81 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5221, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002264/0.5223, allocations: 69.59 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.5223, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5224, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.5224, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.5225, allocations: 7.984 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5225, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.5226, allocations: 8.031 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5226, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 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.0002089/0.5228, allocations: 118.3 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.5228, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.5228, allocations: 3.312 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5228, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5228, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5228, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.523, allocations: 121.5 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.523, allocations: 4 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.5231, allocations: 15.98 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5231, allocations: 3.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5231, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5231, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5231, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.5234, allocations: 171.4 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.5234, allocations: 3.984 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.5234, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.5235, allocations: 8.031 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.5236, allocations: 11.97 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.5236, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.5237, allocations: 87.27 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5237, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002256/0.5239, allocations: 8 kB / 1.329 GB, free: 13.86 MB / 1.029 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.0001394/0.524, allocations: 95.25 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.5243, allocations: 47.89 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5243, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.5244, allocations: 19.98 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.5247, allocations: 7.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.5251, allocations: 121.6 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.5252, allocations: 63.34 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.5252, allocations: 16.02 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.5253, allocations: 11.44 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.5253, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Templates: time 0.003745/0.529, allocations: 0.6592 MB / 1.33 GB, free: 12.77 MB / 1.029 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.080857472494245]