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.001576/0.001576, 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.002018/0.002018, allocations: 215.7 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.383/3.383, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_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.002072/0.002072, allocations: 70.09 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4107, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002886/0.4135, allocations: 0.665 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.415, allocations: 0.8515 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.415, allocations: 0 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.4151, allocations: 7.922 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.703e-05/0.4152, allocations: 3.938 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.4154, allocations: 11.98 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.4155, allocations: 35.92 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4156, allocations: 7.938 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.4156, allocations: 23.91 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.4157, allocations: 15.92 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.4157, allocations: 4 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.4157, allocations: 4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.4158, allocations: 7.984 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.4159, allocations: 15.94 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.416, allocations: 43.75 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.416, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/0.416, allocations: 4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.416, allocations: 3.984 kB / 1.365 GB, free: 12.38 MB / 1.061 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.0005772/0.4166, allocations: 274.3 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4166, allocations: 8.031 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.4167, allocations: 34.75 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.4167, allocations: 0.9375 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.4169, allocations: 122.5 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4169, allocations: 4.375 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4169, allocations: 384 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.4172, allocations: 74.19 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4172, allocations: 7.875 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4172, allocations: 4 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4172, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4174, allocations: 43.95 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.4179, allocations: 247.8 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.4181, allocations: 42.5 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.4182, allocations: 24.89 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4182, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4183, allocations: 34.56 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4183, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005915/0.4188, allocations: 89.59 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.4189, allocations: 55.41 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.419, allocations: 105.8 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.419, allocations: 25.7 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.4191, allocations: 96.14 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.4191, allocations: 8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.4192, allocations: 13.72 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4193, allocations: 314.8 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.4194, allocations: 23.97 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.4195, allocations: 19.98 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.4197, allocations: 40.81 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4197, allocations: 4.062 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002188/0.4199, allocations: 73.61 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4199, allocations: 4 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4199, allocations: 3.938 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4199, allocations: 4 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4201, allocations: 7.984 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4201, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.4201, allocations: 4.031 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4201, allocations: 7.984 kB / 1.367 GB, free: 10.39 MB / 1.061 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.0003244/0.4204, allocations: 113.8 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.4205, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.4205, allocations: 7.312 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.4205, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4205, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4205, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.4207, allocations: 136.7 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4207, allocations: 256 / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.4208, allocations: 12 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4208, allocations: 4 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4208, allocations: 3.984 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4208, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4208, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.4211, allocations: 171.4 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.4211, allocations: 11.89 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.4211, allocations: 0 / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.4212, allocations: 19.95 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.4212, allocations: 0 / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4213, allocations: 3.984 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.4213, allocations: 87.28 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4213, allocations: 0 / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002186/0.4215, allocations: 4 kB / 1.367 GB, free: 9.75 MB / 1.061 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.0006755/0.4222, allocations: 0.6968 MB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.4225, allocations: 47.94 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4225, allocations: 0 / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4226, allocations: 19.97 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.4229, allocations: 9.125 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.4249, allocations: 1.253 MB / 1.369 GB, free: 7.617 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.449e-05/0.425, allocations: 67.34 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.425, allocations: 0 / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.425, allocations: 15.44 kB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.425, allocations: 0 / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.4586, allocations: 2.077 MB / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.77, allocations: 5.875 kB / 1.371 GB, free: 5.574 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.83809023210779]