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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001846/0.001846, allocations: 172.7 kB / 15.95 MB, free: 208 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.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.293 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.686/2.686, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003834, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8614, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0009343/0.8624, allocations: 392.9 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.8634, allocations: 0.8158 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.8635, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.991e-05/0.8636, allocations: 3.938 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.631e-05/0.8636, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.8638, allocations: 23.92 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.8639, allocations: 31.91 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.864, allocations: 7.984 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.864, allocations: 8 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.8641, allocations: 19.92 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.8641, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.8642, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.8642, allocations: 11.92 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.8642, allocations: 33.58 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.576e-05/0.8643, allocations: 31.92 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8643, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8643, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8644, allocations: 0 / 1.024 GB, free: 14.68 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.0005195/0.8649, allocations: 349.3 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.8649, allocations: 8.562 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.865, allocations: 7.906 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.8652, allocations: 171 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.8653, allocations: 8 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.8653, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.8655, allocations: 77.61 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8656, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.8656, allocations: 3.938 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.8656, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.8658, allocations: 51.95 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.8662, allocations: 276.8 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.8664, allocations: 54.48 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.8665, allocations: 24.91 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.8665, allocations: 8.062 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.8666, allocations: 34.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.8666, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003731/0.867, allocations: 105.6 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.867, allocations: 51.41 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.8671, allocations: 105.8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.8671, allocations: 29.64 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.8672, allocations: 100.1 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.8672, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.8672, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8673, allocations: 314.8 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.8674, allocations: 27.97 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.8675, allocations: 19.98 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.8676, allocations: 23.98 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8676, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.8678, allocations: 89.62 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.8678, allocations: 7.984 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8678, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.8679, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.868, allocations: 12 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.868, allocations: 3.984 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.868, allocations: 8.031 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.8681, allocations: 3.938 kB / 1.026 GB, free: 12.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.8682, allocations: 121.7 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.8682, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.8682, allocations: 7.125 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8683, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8683, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8683, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.8684, allocations: 169.5 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8684, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.8685, allocations: 11.98 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.8685, allocations: 4 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.8685, allocations: 4 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8686, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8686, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.8688, allocations: 171.8 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.8689, allocations: 88.97 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.8689, allocations: 11.92 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.869, allocations: 11.94 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.8691, allocations: 3.984 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.8691, allocations: 8.031 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.8691, allocations: 83.28 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8691, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002347/0.8694, allocations: 4 kB / 1.026 GB, free: 11.73 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 (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.0001177/0.8695, allocations: 103.2 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.8697, allocations: 51.97 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8697, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.8698, allocations: 27.97 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.8701, allocations: 6.531 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.8704, allocations: 132.7 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.8708, allocations: 0.6848 MB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.8708, allocations: 4 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.8708, allocations: 7.438 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8708, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002857/0.8737, allocations: 0.4998 MB / 1.028 GB, free: 10.16 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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