Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_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.001838/0.001839, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002883/0.002883, allocations: 194.8 kB / 16.26 MB, free: 6.625 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.739/1.739, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.879/2.879, allocations: 461.9 MB / 0.7343 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.2 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3674, allocations: 157.4 MB / 1.052 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002862/0.3703, allocations: 0.731 MB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3716, allocations: 0.8312 MB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.3717, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3718, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.3719, allocations: 7.938 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.3721, allocations: 15.98 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.3722, allocations: 31.91 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3723, allocations: 15.94 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.3724, allocations: 11.98 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.3725, allocations: 19.92 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3725, allocations: 0 / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.3725, allocations: 4 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.3726, allocations: 15.97 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.3727, allocations: 15.88 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3728, allocations: 39.88 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3728, allocations: 0 / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3728, allocations: 0 / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3728, allocations: 0 / 1.054 GB, free: 6.828 MB / 0.8106 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.0006114/0.3734, allocations: 351.7 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3735, allocations: 12.62 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.3736, allocations: 30.75 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.3736, allocations: 0.9375 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3738, allocations: 180.2 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.3739, allocations: 4.375 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3739, allocations: 384 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.3742, allocations: 78.2 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3742, allocations: 3.938 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3742, allocations: 0 / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3742, allocations: 0 / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.3744, allocations: 47.89 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.375, allocations: 288.7 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.3752, allocations: 38.56 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.3753, allocations: 24.89 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.3753, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3753, allocations: 34.56 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.675e-06/0.3753, allocations: 7.938 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004137/0.3758, allocations: 85.58 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.3758, allocations: 51.41 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.376, allocations: 109.8 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.376, allocations: 25.7 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.3761, allocations: 88.14 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3761, allocations: 4.031 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.3762, allocations: 25.7 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3763, allocations: 314.8 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.3764, allocations: 19.98 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.3765, allocations: 15.97 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.3767, allocations: 48.83 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3767, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002133/0.3769, allocations: 69.66 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.377, allocations: 7.984 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.377, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.377, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3771, allocations: 8 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3771, allocations: 3.984 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.3772, allocations: 8.031 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3772, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 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.0002323/0.3775, allocations: 123.3 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.3775, allocations: 7.891 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.3775, allocations: 3.125 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3775, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3776, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3776, allocations: 7.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.3778, allocations: 173.6 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3778, allocations: 3.938 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.3779, allocations: 7.984 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3779, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3779, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3779, allocations: 256 / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3779, allocations: 4 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3782, allocations: 167.5 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3783, allocations: 77.11 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3783, allocations: 11.92 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.3784, allocations: 4 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.3785, allocations: 7.984 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.3785, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.3786, allocations: 79.28 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3786, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002281/0.3788, allocations: 12.03 kB / 1.057 GB, free: 3.875 MB / 0.8106 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.0006842/0.3795, allocations: 0.7084 MB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3797, allocations: 43.98 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3798, allocations: 0 / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.3799, allocations: 23.92 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3801, allocations: 7.984 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.3818, allocations: 1.269 MB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3821, allocations: 0.6806 MB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.829e-05/0.3822, allocations: 4 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.3822, allocations: 19.42 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of SimCode: time 9.11e-07/0.3823, allocations: 0 / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.3957, allocations: 1.357 MB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/0.396, allocations: 229.7 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.399, allocations: 4.438 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches