Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009397/0.009402, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001171/0.001171, allocations: 193.1 kB / 16.67 MB, free: 5.961 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 62.78 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3749, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002295/0.3772, allocations: 0.6577 MB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3785, allocations: 0.8394 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.3786, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3788, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.313e-05/0.3788, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.379, allocations: 15.98 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3791, allocations: 35.91 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3793, allocations: 11.98 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.588e-05/0.3794, allocations: 15.94 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.3795, allocations: 15.92 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3795, allocations: 4 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.3795, allocations: 4 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.3796, allocations: 7.984 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.3797, allocations: 31.78 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.3798, allocations: 35.83 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3798, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3798, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3798, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 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.0005611/0.3804, allocations: 351.5 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3804, allocations: 8.031 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.3805, allocations: 4.938 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.3807, allocations: 184.2 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3808, allocations: 4.375 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3808, allocations: 384 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.381, allocations: 62.23 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.381, allocations: 192 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.381, allocations: 7.938 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.381, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.3812, allocations: 51.92 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.3817, allocations: 276.8 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.3819, allocations: 42.55 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.382, allocations: 24.91 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.382, allocations: 7.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.382, allocations: 34.5 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.382, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003933/0.3824, allocations: 85.64 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3825, allocations: 59.42 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.3826, allocations: 101.9 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3826, allocations: 25.7 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.3827, allocations: 92.12 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.3827, allocations: 3.906 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3827, allocations: 13.72 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3829, allocations: 318.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.3829, allocations: 23.97 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.383, allocations: 15.98 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3832, allocations: 44.75 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3832, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.3834, allocations: 77.72 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3834, allocations: 5.719 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3835, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3835, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3836, allocations: 15.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3836, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.3837, allocations: 7.984 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3837, allocations: 3.938 kB / 1.091 GB, free: 13.64 MB / 0.8575 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.0001586/0.3838, allocations: 121.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3839, allocations: 3.906 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3839, allocations: 3.125 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3839, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3839, allocations: 11.88 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3839, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.3841, allocations: 169.6 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3841, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.3842, allocations: 7.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.3842, allocations: 4.25 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3842, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3842, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3842, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3845, allocations: 167.4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.3846, allocations: 81.11 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3846, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.3847, allocations: 12.02 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3847, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.3848, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.3848, allocations: 83.27 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.654e-06/0.3848, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002167/0.385, allocations: 7.938 kB / 1.092 GB, free: 12.88 MB / 0.8575 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.0001354/0.3852, allocations: 95.25 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3854, allocations: 51.89 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3854, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.436e-05/0.3855, allocations: 23.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.3858, allocations: 7.922 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.3862, allocations: 121.5 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3865, allocations: 0.6886 MB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.3866, allocations: 7.938 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.3866, allocations: 7.438 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3866, allocations: 4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of Templates: time 0.003332/0.3899, allocations: 0.6298 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches