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.001207/0.001207, allocations: 109 kB / 17.54 MB, free: 4.781 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.001248/0.001248, allocations: 186 kB / 20.71 MB, free: 1.625 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.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.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.522/2.522, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 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.001897/0.001897, allocations: 67.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8341, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001583/0.8356, allocations: 0.6744 MB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007797/0.8364, allocations: 0.8354 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.8365, allocations: 4.781 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.348e-05/0.8366, allocations: 0.7031 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.993e-05/0.8366, allocations: 5.656 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.8367, allocations: 20.47 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.8368, allocations: 39.06 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.8369, allocations: 9.391 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.8369, allocations: 15.86 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.837, allocations: 17.08 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.837, allocations: 7.781 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.837, allocations: 6.75 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.8371, allocations: 12.83 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.8371, allocations: 13.45 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.624e-05/0.8372, allocations: 38.02 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8372, allocations: 1.406 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8372, allocations: 0 / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.8372, allocations: 0 / 1.273 GB, free: 6.582 MB / 0.9981 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.0003875/0.8376, allocations: 352.4 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.8376, allocations: 13.75 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.8377, allocations: 36.89 kB / 1.273 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.8377, allocations: 3.625 kB / 1.273 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.8378, allocations: 175.2 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.8378, allocations: 1.969 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.8378, allocations: 2.719 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.838, allocations: 71.34 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.838, allocations: 3.938 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.838, allocations: 0.7812 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.838, allocations: 4.781 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.8382, allocations: 44.84 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.8385, allocations: 273.3 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.8386, allocations: 42.84 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.8387, allocations: 24.42 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.8388, allocations: 0.9688 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.8388, allocations: 36.02 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8388, allocations: 0 / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000351/0.8391, allocations: 94.84 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.8391, allocations: 55.53 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.8392, allocations: 109 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.8392, allocations: 26.39 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.8392, allocations: 89.66 kB / 1.274 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.8392, allocations: 1.562 kB / 1.274 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.8393, allocations: 16.2 kB / 1.274 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.8393, allocations: 319.7 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.8394, allocations: 19.61 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.8395, allocations: 18.64 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.8396, allocations: 42.44 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.8396, allocations: 3.938 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.8398, allocations: 80.5 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.8398, allocations: 5.969 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.8398, allocations: 0 / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.8398, allocations: 0.9062 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.8399, allocations: 9.547 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.8399, allocations: 0 / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.84, allocations: 12.83 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.84, allocations: 0.9375 kB / 1.275 GB, free: 4.781 MB / 0.9981 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 7.983e-05/0.8401, allocations: 120.5 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.8401, allocations: 5.031 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.8401, allocations: 6.172 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.8401, allocations: 0.7188 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.8401, allocations: 0.875 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.8401, allocations: 0 / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.8402, allocations: 170 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8402, allocations: 0 / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.8403, allocations: 10.09 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.8403, allocations: 3.938 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.8403, allocations: 5.031 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.8403, allocations: 0 / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8403, allocations: 0.9375 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.8405, allocations: 171.1 kB / 1.275 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.8405, allocations: 82.03 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.8405, allocations: 1.031 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.8406, allocations: 12.53 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.8407, allocations: 2.031 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.8407, allocations: 1.828 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.8407, allocations: 86.14 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8407, allocations: 1.062 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002016/0.8409, allocations: 4.406 kB / 1.276 GB, free: 4.117 MB / 0.9981 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.0003873/0.8413, allocations: 0.705 MB / 1.276 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.8415, allocations: 41.5 kB / 1.276 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8415, allocations: 0 / 1.276 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.8416, allocations: 27.97 kB / 1.276 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.8418, allocations: 4.484 kB / 1.276 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.8429, allocations: 1.26 MB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.8432, allocations: 0.6802 MB / 1.278 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.8432, allocations: 9.422 kB / 1.278 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.8433, allocations: 17.48 kB / 1.278 GB, free: 17.52 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.8433, allocations: 1.125 kB / 1.278 GB, free: 17.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.8634, allocations: 1.506 MB / 1.28 GB, free: 17.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/7.65, allocations: 7.625 kB / 1.28 GB, free: 17.14 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 12.990659168000093]