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.001188/0.001188, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009471/0.009471, allocations: 170 kB / 16.26 MB, free: 6.613 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.524/2.524, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 12.28 kB / 0.873 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6665/0.6668, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.000832/0.6677, allocations: 401 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.6687, allocations: 0.8235 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.6687, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.295e-05/0.6688, allocations: 7.922 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.555e-05/0.6689, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.669, allocations: 11.94 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.133e-05/0.6691, allocations: 27.92 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.6692, allocations: 15.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.6693, allocations: 15.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.6693, allocations: 15.86 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.6694, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.6694, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.6694, allocations: 7.984 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.6695, allocations: 41.58 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.798e-05/0.6696, allocations: 35.86 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6696, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6696, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.6696, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 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.0004443/0.6701, allocations: 349.7 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6701, allocations: 8.031 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.6701, allocations: 34.75 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.6702, allocations: 8.844 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.6703, allocations: 172.3 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.6704, allocations: 8.375 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.6704, allocations: 4.375 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.6706, allocations: 74.16 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6706, allocations: 3.938 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.6706, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6707, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.6709, allocations: 55.95 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.6713, allocations: 276.7 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.6714, allocations: 58.48 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.6715, allocations: 24.91 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.6715, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.6716, allocations: 38.56 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.6716, allocations: 3.938 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003868/0.672, allocations: 109.7 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.672, allocations: 59.34 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.6721, allocations: 101.8 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.6721, allocations: 29.7 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.6722, allocations: 88.05 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.6722, allocations: 3.906 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.6722, allocations: 13.72 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.6723, allocations: 314.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.6724, allocations: 31.97 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.6725, allocations: 19.98 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.6727, allocations: 56.88 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6727, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000219/0.6729, allocations: 77.66 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.673, allocations: 11.97 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.673, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.673, allocations: 3.984 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6731, allocations: 15.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6731, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.6732, allocations: 7.984 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.6732, allocations: 0 / 1.026 GB, free: 12.22 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.0001187/0.6733, allocations: 118.3 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.6733, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.6734, allocations: 11.12 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6734, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6734, allocations: 256 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6734, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.6736, allocations: 177.5 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6736, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.6736, allocations: 11.98 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6737, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.6737, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6737, allocations: 3.984 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6737, allocations: 3.984 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.674, allocations: 187.3 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.674, allocations: 77.11 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.674, allocations: 4 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.6741, allocations: 11.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.6742, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.6742, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.6742, allocations: 87.27 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6742, allocations: 4.031 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002126/0.6744, allocations: 4 kB / 1.027 GB, free: 11.43 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.0005158/0.675, allocations: 0.7124 MB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.6752, allocations: 51.89 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6752, allocations: 4.094 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.6753, allocations: 31.97 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.6756, allocations: 8.562 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.6769, allocations: 1.291 MB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.6772, allocations: 0.677 MB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.6772, allocations: 4 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.6773, allocations: 19.42 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6773, allocations: 0 / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.6896, allocations: 1.239 MB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.6898, allocations: 235.5 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.388, allocations: 3.875 kB / 1.031 GB, free: 7.16 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