Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 198.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5039, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001902/0.5058, allocations: 0.7305 MB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.5068, allocations: 0.8273 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.5069, allocations: 4 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.507, allocations: 3.938 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.5071, allocations: 3.984 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.5073, allocations: 12 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.157e-05/0.5074, allocations: 27.92 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.5075, allocations: 19.97 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.504e-05/0.5076, allocations: 7.938 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.5077, allocations: 19.92 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.5077, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.5077, allocations: 4 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.5078, allocations: 7.984 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.5079, allocations: 19.86 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.508, allocations: 43.81 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.508, allocations: 0 / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.01e-07/0.508, allocations: 0 / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.508, allocations: 7.938 kB / 1.018 GB, free: 1.023 MB / 0.7637 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.000536/0.5086, allocations: 353.6 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5086, allocations: 8.031 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.5088, allocations: 34.75 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.5088, allocations: 4.938 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.509, allocations: 172.3 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.509, allocations: 384 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.509, allocations: 8.375 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.5093, allocations: 66.22 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5093, allocations: 3.938 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5094, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5094, allocations: 4 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.5096, allocations: 43.89 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.51, allocations: 280.7 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.5102, allocations: 46.48 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.5103, allocations: 24.91 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5103, allocations: 0 / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.5104, allocations: 34.56 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5104, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003798/0.5108, allocations: 89.62 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.5108, allocations: 51.41 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.5109, allocations: 105.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.5109, allocations: 33.64 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.511, allocations: 84.25 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.511, allocations: 11.84 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.5111, allocations: 17.72 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5112, allocations: 318.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.5113, allocations: 19.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.5114, allocations: 15.98 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.5115, allocations: 48.88 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5116, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.5118, allocations: 65.66 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5118, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.5118, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5118, allocations: 256 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5119, allocations: 15.92 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5119, allocations: 8.031 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.512, allocations: 7.984 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.512, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 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.0001158/0.5121, allocations: 114.3 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.5122, allocations: 3.906 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.5122, allocations: 11.12 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5122, allocations: 3.938 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5122, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5122, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.5124, allocations: 169.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5124, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.5125, allocations: 11.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5125, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5125, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5125, allocations: 7.922 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5125, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.5128, allocations: 179.4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.5128, allocations: 77.11 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.5129, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.5129, allocations: 7.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.513, allocations: 8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.513, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.513, allocations: 79.28 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.513, allocations: 4.031 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002178/0.5133, allocations: 8 kB / 1.021 GB, free: 14.07 MB / 0.7794 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.0005113/0.5138, allocations: 0.7045 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.514, allocations: 39.94 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.514, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.5141, allocations: 27.97 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.5143, allocations: 4.562 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.5158, allocations: 1.262 MB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.516, allocations: 0.6848 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.5161, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.5161, allocations: 11.44 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5161, allocations: 4.031 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009906/0.526, allocations: 1.312 MB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.5263, allocations: 224.8 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.168, allocations: 0 / 1.025 GB, free: 9.77 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches