Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001342/0.001342, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001467/0.001467, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.528/1.528, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.011/3.011, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.849e-06, allocations: 3.984 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.455e-05, allocations: 2.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001845/0.001879, allocations: 0.6604 MB / 1.001 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003036, allocations: 0.8548 MB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.003081, allocations: 0 / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.707e-05/0.003178, allocations: 7.938 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.898e-05/0.003207, allocations: 3.984 kB / 1.002 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.003369, allocations: 23.92 kB / 1.002 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.003468, allocations: 31.91 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.003559, allocations: 8 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.003635, allocations: 19.92 kB / 1.002 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.003696, allocations: 11.98 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.003716, allocations: 4 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.003726, allocations: 0 / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.00378, allocations: 19.91 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.003809, allocations: 8 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.003909, allocations: 39.86 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.003912, allocations: 3.938 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003913, allocations: 4 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003917, allocations: 0 / 1.002 GB, free: 5.582 MB / 0.9512 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.0004797/0.004397, allocations: 278.3 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.004437, allocations: 8.031 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.004475, allocations: 4.938 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.004644, allocations: 117.7 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.004668, allocations: 8.359 kB / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.004682, allocations: 4.375 kB / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.004882, allocations: 62.22 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.00489, allocations: 4.188 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.004902, allocations: 4.375 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.004906, allocations: 4.312 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.005116, allocations: 47.89 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.005477, allocations: 220.5 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.005634, allocations: 42.55 kB / 1.003 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.005734, allocations: 24.91 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.005758, allocations: 7.938 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.005786, allocations: 30.56 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005787, allocations: 0 / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004517/0.006238, allocations: 85.58 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.006305, allocations: 59.39 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.006415, allocations: 97.86 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.00644, allocations: 29.83 kB / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.006591, allocations: 100 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.006616, allocations: 7.891 kB / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.006657, allocations: 13.72 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.006876, allocations: 314.8 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.006977, allocations: 19.97 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.007072, allocations: 19.98 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.007275, allocations: 48.81 kB / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007277, allocations: 0 / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002375/0.007514, allocations: 73.59 kB / 1.003 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.007535, allocations: 4 kB / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.007542, allocations: 0 / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.00756, allocations: 4 kB / 1.003 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.007679, allocations: 7.984 kB / 1.003 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.007685, allocations: 0 / 1.003 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.007746, allocations: 12.02 kB / 1.003 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.007753, allocations: 0 / 1.003 GB, free: 3.676 MB / 0.9512 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.000286/0.008039, allocations: 114.4 kB / 1.004 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.008071, allocations: 7.938 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.008102, allocations: 3.312 kB / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008104, allocations: 0 / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.008111, allocations: 0 / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.008114, allocations: 0 / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.008295, allocations: 113.4 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.008296, allocations: 4 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.008371, allocations: 16.17 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.008376, allocations: 3.938 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.008387, allocations: 4 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.008388, allocations: 0 / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.008391, allocations: 3.984 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.008699, allocations: 167.5 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-06/0.008706, allocations: 3.938 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.008722, allocations: 7.969 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.008812, allocations: 7.984 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.00888, allocations: 8 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.008883, allocations: 0 / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.00894, allocations: 87.2 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.008941, allocations: 0 / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002208/0.009161, allocations: 8 kB / 1.004 GB, free: 3.066 MB / 0.9512 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.0001253/0.009287, allocations: 95.25 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.009526, allocations: 47.89 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009528, allocations: 0 / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.009631, allocations: 23.97 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.009887, allocations: 6.188 kB / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.01023, allocations: 120.7 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.983e-05/0.0103, allocations: 63.34 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.645e-05/0.01035, allocations: 8.125 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.01039, allocations: 16.48 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.01039, allocations: 0 / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.003441/0.01383, allocations: 0.6483 MB / 1.005 GB, free: 1.996 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.575031541287899]