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.0008373/0.0008373, 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.0008985/0.0008985, 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.8958/0.8958, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.693/1.693, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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 1.833e-06/1.833e-06, allocations: 3.938 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.684e-05, allocations: 2.281 kB / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001191/0.001208, allocations: 0.6701 MB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.001982, allocations: 0.8509 MB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.002023, allocations: 7.938 kB / 0.9825 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.002113, allocations: 0 / 0.9825 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.9e-05/0.002132, allocations: 3.938 kB / 0.9825 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.002283, allocations: 19.92 kB / 0.9825 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.002355, allocations: 31.92 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.002451, allocations: 15.97 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.002507, allocations: 19.92 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.002562, allocations: 11.98 kB / 0.9826 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.002584, allocations: 4 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.002593, allocations: 4 kB / 0.9826 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.002642, allocations: 11.92 kB / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.002668, allocations: 11.98 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.00276, allocations: 35.88 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.002763, allocations: 7.938 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.123e-06/0.002764, allocations: 4 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002768, allocations: 0 / 0.9826 GB, free: 0.8867 MB / 0.9323 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.0003296/0.003097, allocations: 270.3 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.003133, allocations: 8.031 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.003162, allocations: 38.73 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.945e-05/0.003181, allocations: 0.9375 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.003288, allocations: 117.7 kB / 0.983 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.003305, allocations: 4.375 kB / 0.983 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-06/0.003313, allocations: 384 / 0.983 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.003446, allocations: 74.2 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003452, allocations: 192 / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.003461, allocations: 4.375 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.003466, allocations: 8.062 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.003564, allocations: 39.95 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.003861, allocations: 236 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/0.003946, allocations: 54.42 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.003992, allocations: 20.91 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.004005, allocations: 3.938 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.004023, allocations: 38.56 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.004024, allocations: 0 / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002175/0.004241, allocations: 89.58 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.004269, allocations: 55.41 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.004325, allocations: 105.8 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.004336, allocations: 29.83 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.004378, allocations: 99.97 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.004389, allocations: 0 / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.004414, allocations: 13.72 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.00449, allocations: 318.8 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.004533, allocations: 15.98 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.004571, allocations: 19.98 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.004658, allocations: 44.88 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.004662, allocations: 3.938 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.004774, allocations: 73.61 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.004785, allocations: 4 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.004791, allocations: 0 / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.004803, allocations: 4 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.004873, allocations: 11.92 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.004878, allocations: 4.031 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.004902, allocations: 7.984 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.004907, allocations: 0 / 0.9844 GB, free: 14.91 MB / 0.948 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 8.294e-05/0.00499, allocations: 113.8 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.005002, allocations: 4 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.00502, allocations: 7.312 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005021, allocations: 0 / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.005026, allocations: 3.984 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005029, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.005132, allocations: 132.7 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005133, allocations: 4 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.005164, allocations: 11.98 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005166, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.005173, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005173, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005174, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.005316, allocations: 171.4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.005324, allocations: 7.953 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.005334, allocations: 4.031 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.005374, allocations: 11.97 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.005416, allocations: 7.984 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.005419, allocations: 4.188 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.005448, allocations: 95.22 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005448, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000146/0.005594, allocations: 7.938 kB / 0.9849 GB, free: 14.27 MB / 0.948 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.0003103/0.005904, allocations: 0.7007 MB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.006033, allocations: 43.89 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006035, allocations: 0 / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.006079, allocations: 19.98 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.006255, allocations: 10.56 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.007112, allocations: 1.265 MB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.007155, allocations: 63.34 kB / 0.987 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.007182, allocations: 0 / 0.987 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.00722, allocations: 24.52 kB / 0.987 GB, free: 12.02 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.00722, allocations: 0 / 0.987 GB, free: 12.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.02325, allocations: 2.196 MB / 0.9891 GB, free: 9.949 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.744, allocations: 3.047 kB / 0.9892 GB, free: 9.949 MB / 0.948 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.75578256137669]