Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001696/0.001696, allocations: 103.9 kB / 16.45 MB, free: 6.5 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.002004/0.002004, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.581/1.581, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.49 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_12_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.002107/0.002107, allocations: 67.23 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002099/0.3726, allocations: 0.6573 MB / 1.321 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3738, allocations: 0.867 MB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.3738, allocations: 4 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3739, allocations: 3.938 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.654e-05/0.374, allocations: 4 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.3741, allocations: 15.92 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.097e-05/0.3742, allocations: 43.78 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.3743, allocations: 11.94 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.3744, allocations: 15.97 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.3744, allocations: 15.92 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3744, allocations: 4 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.3745, allocations: 4 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.3745, allocations: 19.92 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.3746, allocations: 11.94 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3747, allocations: 39.86 kB / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3747, allocations: 0 / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3747, allocations: 0 / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3747, allocations: 0 / 1.322 GB, free: 1.59 MB / 1.014 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.0005073/0.3752, allocations: 343.4 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3752, allocations: 11.98 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.3753, allocations: 38.75 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.3753, allocations: 8.891 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3755, allocations: 176.3 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.3755, allocations: 16.3 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.3755, allocations: 384 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3757, allocations: 66.22 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3757, allocations: 3.938 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3757, allocations: 0 / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3757, allocations: 0 / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.3759, allocations: 47.95 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3764, allocations: 284.7 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.3765, allocations: 38.56 kB / 1.323 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.3766, allocations: 24.89 kB / 1.323 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3766, allocations: 4.078 kB / 1.323 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3767, allocations: 34.56 kB / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3767, allocations: 3.938 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003904/0.3771, allocations: 85.64 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.3771, allocations: 51.41 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.3772, allocations: 110 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.3772, allocations: 25.7 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.3773, allocations: 88.08 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.3773, allocations: 7.953 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.3773, allocations: 17.7 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3775, allocations: 318.8 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.3776, allocations: 15.98 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3777, allocations: 27.97 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3779, allocations: 40.77 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3779, allocations: 3.938 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002228/0.3781, allocations: 69.66 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3781, allocations: 7.984 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3781, allocations: 8.031 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3781, allocations: 4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3782, allocations: 4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3782, allocations: 3.984 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.3783, allocations: 4 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3783, allocations: 0 / 1.324 GB, free: 15.4 MB / 1.029 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.0001204/0.3784, allocations: 117.8 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3784, allocations: 7.953 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.3785, allocations: 11.12 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3785, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3785, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3785, allocations: 3.938 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3787, allocations: 165.6 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3787, allocations: 256 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.3787, allocations: 11.98 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3787, allocations: 4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.3788, allocations: 4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3788, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3788, allocations: 4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.379, allocations: 167.5 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.3791, allocations: 77.11 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3791, allocations: 3.984 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.3792, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.3792, allocations: 12.02 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3792, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.3793, allocations: 83.28 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3793, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002203/0.3795, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 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.0006041/0.3801, allocations: 0.7123 MB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3803, allocations: 39.95 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3803, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3804, allocations: 19.92 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.3807, allocations: 14.03 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.3823, allocations: 1.264 MB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3826, allocations: 0.6807 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.3826, allocations: 4.031 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.3827, allocations: 19.42 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3827, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.407, allocations: 1.532 MB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.454, allocations: 8.312 kB / 1.329 GB, free: 10.35 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaToInt.y in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.649351877858862]