Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007874/0.0007874, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008165/0.0008165, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9047/0.9047, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.725e-05, allocations: 4.812 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001276/0.001303, allocations: 0.6584 MB / 0.9524 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000823/0.002126, allocations: 0.851 MB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.002175, allocations: 3.938 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.002277, allocations: 0 / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.944e-05/0.002296, allocations: 3.938 kB / 0.9532 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.002465, allocations: 23.92 kB / 0.9532 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.002539, allocations: 27.92 kB / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.002638, allocations: 8 kB / 0.9533 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.002695, allocations: 19.91 kB / 0.9533 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.002753, allocations: 19.97 kB / 0.9533 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.002776, allocations: 0 / 0.9533 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.002785, allocations: 8 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.002837, allocations: 8 kB / 0.9533 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.002866, allocations: 19.91 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.948e-05/0.002956, allocations: 35.83 kB / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002958, allocations: 0 / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002959, allocations: 0 / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002963, allocations: 0 / 0.9534 GB, free: 1.285 MB / 0.9011 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.0004089/0.003371, allocations: 278.3 kB / 0.9536 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.003409, allocations: 8.031 kB / 0.9537 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.003441, allocations: 8.828 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.003566, allocations: 129.7 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.003585, allocations: 384 / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.003595, allocations: 4.375 kB / 0.9538 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.003734, allocations: 62.22 kB / 0.9538 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.003742, allocations: 4.172 kB / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003753, allocations: 384 / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.003757, allocations: 384 / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.003864, allocations: 51.83 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.004142, allocations: 216.5 kB / 0.9541 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.004231, allocations: 42.48 kB / 0.9541 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.00428, allocations: 28.91 kB / 0.9542 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.004296, allocations: 3.938 kB / 0.9542 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.004316, allocations: 34.56 kB / 0.9542 GB, free: 324 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004317, allocations: 0 / 0.9542 GB, free: 324 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.004546, allocations: 89.62 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.004577, allocations: 51.41 kB / 0.9543 GB, free: 164 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.004708, allocations: 109.8 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.004717, allocations: 25.7 kB / 0.9545 GB, free: 12 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.004763, allocations: 88.14 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.004778, allocations: 7.891 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.004805, allocations: 21.66 kB / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.004875, allocations: 314.8 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.004921, allocations: 20.11 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.004959, allocations: 19.97 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.005039, allocations: 44.83 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.005041, allocations: 0 / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.00515, allocations: 69.59 kB / 0.955 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005161, allocations: 4.094 kB / 0.955 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005166, allocations: 4 kB / 0.955 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005177, allocations: 0 / 0.955 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.005247, allocations: 15.92 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.005252, allocations: 0 / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.005277, allocations: 7.984 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.005281, allocations: 0 / 0.9551 GB, free: 15.38 MB / 0.9167 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 7.519e-05/0.005356, allocations: 113.8 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.005371, allocations: 7.891 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.005389, allocations: 11.3 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.00539, allocations: 4 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.005394, allocations: 0 / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.005397, allocations: 0 / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.484e-05/0.005482, allocations: 113.2 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005483, allocations: 3.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.005511, allocations: 8.234 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.005514, allocations: 3.938 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.005522, allocations: 12 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005523, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005524, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.005656, allocations: 168.1 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.005662, allocations: 0 / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.005671, allocations: 3.938 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.00571, allocations: 11.98 kB / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.005756, allocations: 7.984 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005758, allocations: 0 / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.005786, allocations: 83.28 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005787, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001398/0.005926, allocations: 11.98 kB / 0.9556 GB, free: 14.77 MB / 0.9167 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 8.018e-05/0.006007, allocations: 107.1 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.006142, allocations: 39.95 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006143, allocations: 0 / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.006189, allocations: 27.91 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.006367, allocations: 6.188 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.006621, allocations: 153.8 kB / 0.9559 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.601e-05/0.006667, allocations: 67.33 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.006696, allocations: 12.5 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of SimCode: time 4.21e-07/0.006697, allocations: 0 / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.001631/0.008328, allocations: 0.6931 MB / 0.9567 GB, free: 13.61 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.44433706253767]