Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 67.91 kB / 1.104 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8293, allocations: 168.7 MB / 1.269 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002288/0.8316, allocations: 0.6704 MB / 1.269 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.8328, allocations: 0.835 MB / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.8328, allocations: 0 / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.8329, allocations: 7.984 kB / 1.27 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.13e-05/0.833, allocations: 7.938 kB / 1.27 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.8332, allocations: 23.92 kB / 1.27 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.061e-05/0.8333, allocations: 23.98 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.8334, allocations: 11.98 kB / 1.27 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.8334, allocations: 19.86 kB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.8335, allocations: 15.92 kB / 1.27 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.8335, allocations: 4 kB / 1.27 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.8335, allocations: 4 kB / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.8336, allocations: 11.98 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.8336, allocations: 15.88 kB / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.8338, allocations: 39.86 kB / 1.27 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.8338, allocations: 4 kB / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8338, allocations: 0 / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.8338, allocations: 3.938 kB / 1.27 GB, free: 3.504 MB / 0.9669 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.0005427/0.8343, allocations: 353.5 kB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8344, allocations: 8.031 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.8344, allocations: 38.73 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.8344, allocations: 0.9375 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.8346, allocations: 180.3 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8346, allocations: 4.312 kB / 1.271 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.8347, allocations: 4.375 kB / 1.271 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.8349, allocations: 58.23 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.8349, allocations: 7.938 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.835, allocations: 0 / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.835, allocations: 0 / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.8351, allocations: 43.95 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.8356, allocations: 288.8 kB / 1.271 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.8357, allocations: 34.56 kB / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.8358, allocations: 28.89 kB / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.8358, allocations: 0 / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.8358, allocations: 34.56 kB / 1.271 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8358, allocations: 0 / 1.271 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003675/0.8362, allocations: 93.53 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.8363, allocations: 55.34 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.8364, allocations: 101.8 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.8364, allocations: 33.83 kB / 1.272 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.8364, allocations: 92.08 kB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.8365, allocations: 0 / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.8365, allocations: 13.72 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.8367, allocations: 318.8 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.8368, allocations: 19.97 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.8368, allocations: 19.98 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.837, allocations: 44.88 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.837, allocations: 0 / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.8372, allocations: 77.55 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8372, allocations: 4 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8372, allocations: 0 / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8372, allocations: 4 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.8373, allocations: 12.02 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8373, allocations: 0 / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.8374, allocations: 4 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.8374, allocations: 4.234 kB / 1.272 GB, free: 1.328 MB / 0.9669 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.0001734/0.8376, allocations: 121.7 kB / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.8376, allocations: 0 / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.8376, allocations: 7.125 kB / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.8376, allocations: 7.922 kB / 1.272 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.8376, allocations: 8 kB / 1.272 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8376, allocations: 0 / 1.272 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.8378, allocations: 169.6 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8378, allocations: 0 / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.8379, allocations: 15.92 kB / 1.273 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.8379, allocations: 0 / 1.273 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.8379, allocations: 0 / 1.273 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8379, allocations: 0 / 1.273 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8379, allocations: 3.938 kB / 1.273 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.8382, allocations: 175.4 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.8382, allocations: 81.06 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.8382, allocations: 0 / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.8383, allocations: 7.984 kB / 1.273 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.8384, allocations: 8 kB / 1.273 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.8384, allocations: 0 / 1.273 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.8384, allocations: 87.3 kB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8384, allocations: 0 / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002105/0.8386, allocations: 4 kB / 1.273 GB, free: 0.5508 MB / 0.9669 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.0006442/0.8393, allocations: 0.709 MB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.8395, allocations: 35.95 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8395, allocations: 0 / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.8396, allocations: 27.97 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.8398, allocations: 2.812 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.8413, allocations: 1.257 MB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.8416, allocations: 0.6845 MB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.8417, allocations: 3.984 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.8417, allocations: 15.44 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8417, allocations: 4.031 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.8698, allocations: 1.548 MB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/9.181, allocations: 2.938 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.253836316987872]