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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001471/0.001471, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 197 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6962, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002359/0.6986, allocations: 0.6618 MB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.6998, allocations: 0.8351 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.6999, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.71e-05/0.7, allocations: 3.938 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.307e-05/0.7, allocations: 11.94 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.7002, allocations: 19.97 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.7003, allocations: 27.92 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.7004, allocations: 11.98 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.7005, allocations: 11.94 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.7005, allocations: 19.92 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.7006, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.7006, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.7007, allocations: 15.97 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.7007, allocations: 19.88 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.7008, allocations: 39.88 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7008, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7008, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7008, allocations: 0 / 1.019 GB, free: 0.7891 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.0004897/0.7013, allocations: 345.7 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7014, allocations: 16.02 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.7014, allocations: 30.75 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.7015, allocations: 8.844 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.7016, allocations: 184.2 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.7016, allocations: 8.312 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.7017, allocations: 384 / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.7019, allocations: 66.22 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7019, allocations: 7.922 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.7019, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7019, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.7021, allocations: 48 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.7025, allocations: 280.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.7027, allocations: 42.55 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.7028, allocations: 28.84 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.7028, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.7029, allocations: 38.5 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7029, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004058/0.7033, allocations: 85.62 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.7033, allocations: 51.41 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.7034, allocations: 106 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.7034, allocations: 29.64 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.7035, allocations: 96.03 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.7035, allocations: 3.906 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.7035, allocations: 13.72 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.7036, allocations: 318.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.7037, allocations: 19.97 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.7038, allocations: 19.98 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.704, allocations: 44.75 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.704, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000217/0.7042, allocations: 73.66 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7043, allocations: 4.094 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7043, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7043, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.7044, allocations: 11.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7044, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.7045, allocations: 7.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.7045, allocations: 0 / 1.021 GB, free: 14.6 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.0001458/0.7046, allocations: 117.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.7047, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.7047, allocations: 7.125 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7047, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7047, allocations: 7.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.7047, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.7049, allocations: 173.5 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7049, allocations: 256 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.705, allocations: 11.98 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.705, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.705, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.705, allocations: 3.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7051, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.7053, allocations: 171.3 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.7054, allocations: 77.11 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.7054, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.7055, allocations: 7.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.7056, allocations: 8.031 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.7056, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.7056, allocations: 83.27 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.433e-06/0.7056, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002182/0.7058, allocations: 7.938 kB / 1.022 GB, free: 13.82 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.000587/0.7064, allocations: 0.7062 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.7067, allocations: 39.95 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7067, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.7068, allocations: 31.91 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.7071, allocations: 4.719 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.7086, allocations: 1.241 MB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.7089, allocations: 0.6807 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.709, allocations: 12.02 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.709, allocations: 15.44 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.7091, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.7266, allocations: 1.493 MB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.522, allocations: 19.08 kB / 1.026 GB, free: 9.574 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