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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009587/0.0009585, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.00102/0.00102, allocations: 177.2 kB / 16.27 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 17.33 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3324, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0009195/0.3334, allocations: 403.1 kB / 1.059 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3345, allocations: 0.8313 MB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.3346, allocations: 0 / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3347, allocations: 7.984 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.021e-05/0.3347, allocations: 3.938 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.3349, allocations: 8 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.335, allocations: 35.92 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3351, allocations: 7.984 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.3352, allocations: 15.92 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.3353, allocations: 11.92 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3353, allocations: 4 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.3353, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.3354, allocations: 15.92 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.3354, allocations: 41.58 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.318e-05/0.3355, allocations: 39.86 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3356, allocations: 4 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3356, allocations: 0 / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3356, allocations: 0 / 1.06 GB, free: 3.441 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.0005168/0.3361, allocations: 343.8 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3362, allocations: 15.97 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.3362, allocations: 30.75 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.3362, allocations: 8.844 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3364, allocations: 180.3 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3365, allocations: 384 / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3365, allocations: 4.375 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3367, allocations: 66.22 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3367, allocations: 3.938 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3367, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3368, allocations: 4 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.337, allocations: 55.95 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.3374, allocations: 288.6 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3376, allocations: 50.55 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3377, allocations: 28.91 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3377, allocations: 0 / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.3377, allocations: 34.56 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.3377, allocations: 0 / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000399/0.3382, allocations: 109.7 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3382, allocations: 51.41 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.3383, allocations: 113.8 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3383, allocations: 25.7 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3384, allocations: 92.05 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.3384, allocations: 3.906 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3384, allocations: 9.719 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3385, allocations: 322.8 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-05/0.3386, allocations: 24 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.3387, allocations: 23.98 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3389, allocations: 56.88 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3389, allocations: 3.938 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002274/0.3392, allocations: 77.66 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3392, allocations: 12.03 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3392, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3392, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3393, allocations: 11.98 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3393, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.3394, allocations: 15.92 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3394, allocations: 0 / 1.062 GB, free: 1.18 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.0001318/0.3396, allocations: 117.8 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3396, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.3396, allocations: 7.125 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3396, allocations: 0 / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3396, allocations: 4 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3396, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3398, allocations: 169.6 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3398, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-05/0.3399, allocations: 15.97 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3399, allocations: 11.88 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3399, allocations: 0 / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3399, allocations: 0 / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3399, allocations: 0 / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3402, allocations: 187.3 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.3402, allocations: 81.11 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3403, allocations: 0 / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.3404, allocations: 7.984 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.3404, allocations: 4 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3404, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.3405, allocations: 87.52 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3405, allocations: 4.031 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.3407, allocations: 8 kB / 1.063 GB, free: 408 kB / 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.0005998/0.3413, allocations: 0.7123 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.3416, allocations: 51.95 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3416, allocations: 8.094 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3417, allocations: 23.97 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3419, allocations: 8.938 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3434, allocations: 1.287 MB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3436, allocations: 0.6809 MB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.513e-05/0.3437, allocations: 7.938 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.3438, allocations: 15.42 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3438, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.3544, allocations: 1.244 MB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.3546, allocations: 226.4 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.98, allocations: 0 / 1.067 GB, free: 12.14 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