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.002633/0.002633, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.003573/0.003573, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.395/3.395, allocations: 429.5 MB / 0.6729 GB, free: 3.977 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 2.134e-06/2.134e-06, allocations: 0 / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.32e-05, allocations: 8.781 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001861/0.001894, allocations: 0.6773 MB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003093, allocations: 0.8573 MB / 0.8789 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.003141, allocations: 4 kB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003247, allocations: 9.328 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.003273, allocations: 1.641 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.003431, allocations: 19.92 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.371e-05/0.003515, allocations: 31.09 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.003601, allocations: 13.3 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.003677, allocations: 19.98 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.003735, allocations: 11.92 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.003755, allocations: 4.875 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.003768, allocations: 4 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.00382, allocations: 9.078 kB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.003855, allocations: 11.98 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003958, allocations: 39.81 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.003965, allocations: 8.938 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003966, allocations: 0 / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003969, allocations: 0 / 0.8791 GB, free: 4.93 MB / 0.8386 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.0005231/0.004493, allocations: 369.3 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.00453, allocations: 8.031 kB / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.004575, allocations: 13.55 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.004736, allocations: 116.5 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.004753, allocations: 2.219 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.004768, allocations: 8.375 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.004936, allocations: 58.22 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.004943, allocations: 192 / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004952, allocations: 384 / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.004955, allocations: 3.969 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.005088, allocations: 31.92 kB / 0.8797 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.005513, allocations: 275.7 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.005637, allocations: 43.05 kB / 0.88 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.005708, allocations: 23.69 kB / 0.88 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.00573, allocations: 7.938 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.005764, allocations: 33.39 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.005765, allocations: 0.9375 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003229/0.006088, allocations: 74.64 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.006134, allocations: 55.39 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.006275, allocations: 167.1 kB / 0.8804 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.006294, allocations: 25.7 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.006386, allocations: 138.8 kB / 0.8805 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.006405, allocations: 12.92 kB / 0.8805 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.006453, allocations: 19.38 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.006719, allocations: 496.1 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.006779, allocations: 13.02 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.006835, allocations: 16.58 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.006948, allocations: 39.17 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00695, allocations: 0 / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.007135, allocations: 57.62 kB / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.007148, allocations: 4 kB / 0.8811 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007152, allocations: 0 / 0.8811 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.007166, allocations: 4 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.007252, allocations: 7.984 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007257, allocations: 0 / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/0.007293, allocations: 0.875 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007298, allocations: 4.594 kB / 0.8812 GB, free: 2.652 MB / 0.8386 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.0001253/0.007423, allocations: 161.3 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.007459, allocations: 15.89 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.00748, allocations: 4.219 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.007482, allocations: 0 / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.007484, allocations: 9.406 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007486, allocations: 0 / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.008002, allocations: 124.6 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.008003, allocations: 0 / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.008058, allocations: 8 kB / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.008063, allocations: 4.875 kB / 0.8815 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.008073, allocations: 3.984 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008074, allocations: 0.7812 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008075, allocations: 0 / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.008342, allocations: 208.2 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.008352, allocations: 3.984 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.008373, allocations: 7.922 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.008441, allocations: 4 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.008495, allocations: 3.984 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.008505, allocations: 4 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.75e-05/0.008582, allocations: 127.2 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008582, allocations: 3.938 kB / 0.8818 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002139/0.008796, allocations: 4 kB / 0.8818 GB, free: 1.906 MB / 0.8386 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.0001427/0.008939, allocations: 99.28 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.009126, allocations: 39.66 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.009127, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.009202, allocations: 23.67 kB / 0.882 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.009446, allocations: 8 kB / 0.882 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.009793, allocations: 122.3 kB / 0.8821 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.009891, allocations: 75.27 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.009932, allocations: 11.94 kB / 0.8822 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.009972, allocations: 12.5 kB / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.009973, allocations: 0 / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of Templates: time 0.003543/0.01352, allocations: 0.6725 MB / 0.8829 GB, free: 0.7969 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] 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.627911558025517]