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.001735/0.001735, 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.001548/0.001548, allocations: 215.5 kB / 22.25 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.002082/0.002082, allocations: 66.47 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3276, allocations: 170 MB / 1.283 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002313/0.3299, allocations: 0.6574 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3312, allocations: 0.8433 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.3313, allocations: 0 / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3314, allocations: 11.94 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.3314, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3316, allocations: 19.98 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.962e-05/0.3317, allocations: 27.92 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3318, allocations: 11.98 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.3319, allocations: 15.92 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.3319, allocations: 19.92 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.332, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.332, allocations: 7.938 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.332, allocations: 11.98 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.3321, allocations: 15.94 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.3322, allocations: 43.8 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3322, allocations: 0 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3322, allocations: 0 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3322, allocations: 0 / 1.284 GB, free: 10.67 MB / 0.9825 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.000525/0.3327, allocations: 271.8 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3328, allocations: 8.031 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.3328, allocations: 38.73 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.3328, allocations: 8.891 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.333, allocations: 106.5 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.333, allocations: 8.375 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3331, allocations: 8.312 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.3333, allocations: 66.16 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3333, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3333, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3333, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3335, allocations: 43.95 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.3339, allocations: 247.8 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3341, allocations: 46.48 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.3342, allocations: 24.91 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3342, allocations: 0 / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3342, allocations: 30.56 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3342, allocations: 0 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003752/0.3346, allocations: 97.66 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3346, allocations: 51.41 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.3347, allocations: 105.8 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3347, allocations: 25.7 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.3348, allocations: 92.03 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3348, allocations: 7.953 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3349, allocations: 17.72 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.335, allocations: 318.8 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/0.3351, allocations: 15.98 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.3352, allocations: 20.02 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3353, allocations: 44.81 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3353, allocations: 0 / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002739/0.3356, allocations: 73.59 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3356, allocations: 4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3356, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3356, allocations: 4.094 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3358, allocations: 12.23 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3358, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.3358, allocations: 15.97 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3358, allocations: 0 / 1.286 GB, free: 8.691 MB / 0.9825 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.0001572/0.336, allocations: 117.8 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.336, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.336, allocations: 3.312 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.336, allocations: 7.984 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.336, allocations: 4 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.336, allocations: 0 / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.3362, allocations: 136.7 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3362, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.3363, allocations: 11.98 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3363, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.3363, allocations: 3.938 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3363, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3363, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.3366, allocations: 179.3 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.3366, allocations: 0 / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3367, allocations: 3.938 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.3367, allocations: 7.984 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.3368, allocations: 11.98 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3368, allocations: 0 / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.3368, allocations: 79.28 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3368, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002179/0.3371, allocations: 8 kB / 1.287 GB, free: 8.062 MB / 0.9825 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.0006651/0.3377, allocations: 0.7123 MB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3379, allocations: 35.95 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3379, allocations: 0 / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.338, allocations: 23.98 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3383, allocations: 8.141 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3398, allocations: 1.251 MB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.3399, allocations: 63.34 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.3399, allocations: 8.031 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.3399, allocations: 19.42 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3399, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.3769, allocations: 2.068 MB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 10.75 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.460590709000826]