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.0008696/0.0008696, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001056/0.001056, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8737/0.8737, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.741/1.741, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.336e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001509/0.001532, allocations: 0.6625 MB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.00231, allocations: 0.8509 MB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.002353, allocations: 0 / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.533e-05/0.002448, allocations: 3.938 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.763e-05/0.002466, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.002628, allocations: 19.92 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.002705, allocations: 39.8 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.0028, allocations: 15.91 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.002857, allocations: 15.98 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.002911, allocations: 15.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.002934, allocations: 4 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.002943, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.002994, allocations: 15.92 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.003019, allocations: 7.984 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.003118, allocations: 35.89 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00312, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.452e-06/0.003121, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.003126, allocations: 3.984 kB / 1.001 GB, free: 11.79 MB / 0.9636 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.000374/0.0035, allocations: 274.3 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.003548, allocations: 16.75 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.003582, allocations: 30.75 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.003606, allocations: 4.891 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.003748, allocations: 121.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.003769, allocations: 384 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.00378, allocations: 8.312 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.003972, allocations: 62.22 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.003979, allocations: 192 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.003989, allocations: 384 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.003997, allocations: 8.125 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.004146, allocations: 43.95 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.004515, allocations: 240.7 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.004638, allocations: 46.5 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.004712, allocations: 28.89 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.004729, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.004755, allocations: 34.56 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.004756, allocations: 4 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003191/0.005075, allocations: 89.58 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.00511, allocations: 51.41 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.005188, allocations: 105.8 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.005203, allocations: 29.7 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.005249, allocations: 92.02 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.005265, allocations: 7.953 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.005302, allocations: 17.84 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.005409, allocations: 314.8 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.005479, allocations: 19.97 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.005539, allocations: 19.98 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.005667, allocations: 40.81 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.005671, allocations: 3.938 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001788/0.00585, allocations: 81.59 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.005866, allocations: 8 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.005871, allocations: 0 / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.005883, allocations: 0 / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.005972, allocations: 7.984 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.005978, allocations: 0 / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.006016, allocations: 4 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.006024, allocations: 7.984 kB / 1.003 GB, free: 9.805 MB / 0.9636 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.0001222/0.006147, allocations: 113.8 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.006171, allocations: 4 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.006197, allocations: 11.3 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.0062, allocations: 0 / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.006205, allocations: 0 / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.006207, allocations: 0 / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.006368, allocations: 136.8 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.00637, allocations: 3.984 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.006421, allocations: 4 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006423, allocations: 0 / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.006432, allocations: 7.984 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006434, allocations: 4 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.006435, allocations: 3.938 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.006638, allocations: 171.3 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.006648, allocations: 4 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.00666, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.006731, allocations: 7.984 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.006781, allocations: 4 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.006788, allocations: 12.27 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.006824, allocations: 87.28 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.006824, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002653/0.007089, allocations: 7.938 kB / 1.004 GB, free: 9.16 MB / 0.9636 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.0004601/0.007549, allocations: 0.7045 MB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.007727, allocations: 40 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.00773, allocations: 0 / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.982e-05/0.007799, allocations: 23.97 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.008071, allocations: 4 kB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.009521, allocations: 1.269 MB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.009579, allocations: 71.28 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.104e-05/0.00962, allocations: 0 / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.009671, allocations: 16.5 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.009672, allocations: 0 / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.02721, allocations: 2.209 MB / 1.008 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/6.874, allocations: 16.78 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable reaToInt.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[3] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.045847699977458]