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.001037/0.001037, 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.0008634/0.0008634, 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.8966/0.8966, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.204e-05, allocations: 2.281 kB / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001326/0.001348, allocations: 0.6585 MB / 0.9816 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00071/0.002058, allocations: 0.8509 MB / 0.9824 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.002099, allocations: 4 kB / 0.9824 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.004e-05/0.002179, allocations: 7.875 kB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.652e-05/0.002196, allocations: 0 / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.002338, allocations: 27.86 kB / 0.9825 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.002407, allocations: 27.92 kB / 0.9825 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.002493, allocations: 15.97 kB / 0.9825 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.907e-05/0.002542, allocations: 15.98 kB / 0.9825 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.00259, allocations: 15.92 kB / 0.9825 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.002611, allocations: 4 kB / 0.9826 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-06/0.002619, allocations: 4 kB / 0.9826 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.002663, allocations: 4 kB / 0.9826 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.002688, allocations: 19.91 kB / 0.9826 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.46e-05/0.002773, allocations: 31.94 kB / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.002777, allocations: 8 kB / 0.9826 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002778, allocations: 0 / 0.9826 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.002783, allocations: 0 / 0.9826 GB, free: 15.74 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.0003509/0.003134, allocations: 278.2 kB / 0.9829 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.003171, allocations: 8.031 kB / 0.9829 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.0032, allocations: 34.75 kB / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.003221, allocations: 8.875 kB / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.003327, allocations: 117.7 kB / 0.983 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.003344, allocations: 4.375 kB / 0.983 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.003352, allocations: 384 / 0.983 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.003482, allocations: 74.2 kB / 0.9831 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.003488, allocations: 192 / 0.9831 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.003497, allocations: 12.3 kB / 0.9831 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.003503, allocations: 4.125 kB / 0.9831 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.525e-05/0.003598, allocations: 39.95 kB / 0.9832 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.00385, allocations: 247.8 kB / 0.9834 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.003936, allocations: 54.48 kB / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.003981, allocations: 16.91 kB / 0.9835 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.003993, allocations: 0 / 0.9835 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.004013, allocations: 42.5 kB / 0.9835 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.004013, allocations: 0 / 0.9835 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000213/0.004227, allocations: 85.59 kB / 0.9836 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.004255, allocations: 59.39 kB / 0.9837 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.004311, allocations: 102 kB / 0.9838 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.004321, allocations: 25.7 kB / 0.9838 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.00436, allocations: 92.12 kB / 0.9839 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.004372, allocations: 3.953 kB / 0.9839 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.004397, allocations: 13.72 kB / 0.9839 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.004472, allocations: 314.8 kB / 0.9842 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.004517, allocations: 19.97 kB / 0.9842 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.004555, allocations: 15.98 kB / 0.9842 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.004638, allocations: 52.81 kB / 0.9843 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.004641, allocations: 3.938 kB / 0.9843 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.004745, allocations: 69.66 kB / 0.9843 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.004758, allocations: 7.938 kB / 0.9843 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.004763, allocations: 0 / 0.9843 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.004775, allocations: 4 kB / 0.9843 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.004844, allocations: 12.02 kB / 0.9844 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.004849, allocations: 0 / 0.9844 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.004875, allocations: 11.94 kB / 0.9844 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004879, allocations: 0 / 0.9844 GB, free: 13.74 MB / 0.9011 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 9.855e-05/0.004978, allocations: 113.8 kB / 0.9845 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.004992, allocations: 8 kB / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.509e-05/0.005007, allocations: 3.312 kB / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.005008, allocations: 0 / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.005013, allocations: 3.938 kB / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005015, allocations: 0 / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.005125, allocations: 140.7 kB / 0.9846 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005126, allocations: 256 / 0.9846 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.005155, allocations: 12 kB / 0.9846 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005157, allocations: 0 / 0.9846 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.005167, allocations: 7.984 kB / 0.9846 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005168, allocations: 0 / 0.9846 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.005169, allocations: 0 / 0.9846 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.005318, allocations: 167.4 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.005325, allocations: 7.984 kB / 0.9848 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.005334, allocations: 4 kB / 0.9848 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.005373, allocations: 11.98 kB / 0.9848 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.005417, allocations: 3.984 kB / 0.9848 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.005419, allocations: 0 / 0.9848 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.6e-05/0.005445, allocations: 83.28 kB / 0.9849 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.005445, allocations: 4 kB / 0.9849 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001371/0.005582, allocations: 7.938 kB / 0.9849 GB, free: 13.11 MB / 0.9011 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.0003032/0.005885, allocations: 0.7007 MB / 0.9856 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.006005, allocations: 39.95 kB / 0.9856 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.006006, allocations: 0 / 0.9856 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.00605, allocations: 23.92 kB / 0.9857 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.006217, allocations: 9.625 kB / 0.9857 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.00709, allocations: 1.269 MB / 0.9869 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.007138, allocations: 67.34 kB / 0.987 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.007165, allocations: 0 / 0.987 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.007203, allocations: 20.53 kB / 0.987 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/0.007204, allocations: 0 / 0.987 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.02008, allocations: 2.213 MB / 0.9892 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.806, allocations: 5.609 kB / 0.9892 GB, free: 8.777 MB / 0.9011 GB " [Timeout remaining time 293] (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/jenkins/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: 10.87376107648015]