Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001598/0.001598, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.849, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0009464/0.85, allocations: 393 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.851, allocations: 0.8235 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.851, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.8511, allocations: 3.938 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.8512, allocations: 15.97 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.8514, allocations: 11.94 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.8515, allocations: 31.95 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.8516, allocations: 31.97 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.8517, allocations: 23.91 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.8518, allocations: 31.84 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.8518, allocations: 4 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.8518, allocations: 0 / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.8519, allocations: 27.95 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.8519, allocations: 41.64 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.852, allocations: 55.88 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.852, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.852, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.852, allocations: 0 / 1.022 GB, free: 15.61 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006908/0.8527, allocations: 403 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8528, allocations: 11.98 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.8528, allocations: 7.906 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.853, allocations: 194.9 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.8531, allocations: 11.97 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.8531, allocations: 4 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.8535, allocations: 175.2 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.8535, allocations: 3.938 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.8535, allocations: 4 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.8536, allocations: 0 / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.854, allocations: 179.8 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.8546, allocations: 444.7 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.8549, allocations: 125.1 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.855, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.855, allocations: 38.5 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.855, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0008055/0.8558, allocations: 261.6 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.8559, allocations: 77.11 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.856, allocations: 129.9 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.856, allocations: 25.7 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.8561, allocations: 95.98 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.8562, allocations: 20.09 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.8562, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8563, allocations: 322.8 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.8566, allocations: 75.91 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.8568, allocations: 85.64 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.857, allocations: 75.86 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.857, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004447/0.8574, allocations: 185.4 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8575, allocations: 8 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8575, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.8575, allocations: 3.984 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.8577, allocations: 32.03 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.8577, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.8578, allocations: 15.98 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.8578, allocations: 8.359 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.858, allocations: 133.7 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.8581, allocations: 3.906 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.8581, allocations: 15.53 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8581, allocations: 3.938 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8581, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8581, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.8584, allocations: 201.6 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8584, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.8586, allocations: 31.95 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8586, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.8586, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8586, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8586, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.8592, allocations: 372.3 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.8592, allocations: 81.02 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.8593, allocations: 4 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.8594, allocations: 23.97 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.8595, allocations: 24.11 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.8596, allocations: 0 / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.82e-05/0.8596, allocations: 103.2 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8596, allocations: 0 / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002699/0.8599, allocations: 15.94 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001578/0.8601, allocations: 107.2 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.8605, allocations: 159.8 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8606, allocations: 4 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.8608, allocations: 95.89 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.8611, allocations: 16.69 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.8615, allocations: 201.5 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.862, allocations: 0.7082 MB / 1.027 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.736e-05/0.8621, allocations: 19.92 kB / 1.027 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.8622, allocations: 15.44 kB / 1.027 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8622, allocations: 0 / 1.027 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of Templates: time 0.003617/0.8658, allocations: 1.029 MB / 1.028 GB, free: 8.898 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches