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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001465/0.001465, allocations: 106.8 kB / 15.99 MB, free: 6.359 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.001548/0.001548, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.309/1.309, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 61.16 kB / 0.8694 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3757, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002581/0.3783, allocations: 0.7287 MB / 1.018 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3797, allocations: 0.8288 MB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.3798, allocations: 0 / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3799, allocations: 15.92 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.258e-05/0.3799, allocations: 0 / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.3801, allocations: 15.94 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.749e-05/0.3802, allocations: 23.98 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3803, allocations: 11.98 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.3804, allocations: 23.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.3805, allocations: 23.86 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.3805, allocations: 4 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.3806, allocations: 0 / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.3806, allocations: 8 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.3807, allocations: 23.86 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.589e-05/0.3808, allocations: 27.94 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3808, allocations: 0 / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3808, allocations: 0 / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3808, allocations: 3.938 kB / 1.019 GB, free: 9.293 MB / 0.795 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.0005439/0.3814, allocations: 351.6 kB / 1.019 GB, free: 8.898 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3814, allocations: 8.922 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3815, allocations: 8.922 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3817, allocations: 168.4 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3817, allocations: 384 / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3817, allocations: 4.375 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.382, allocations: 62.22 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.382, allocations: 192 / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.382, allocations: 3.938 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.382, allocations: 4 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.3822, allocations: 51.89 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.3828, allocations: 284.7 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.383, allocations: 42.5 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.3831, allocations: 28.89 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3831, allocations: 0 / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.853e-05/0.3832, allocations: 30.56 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.3832, allocations: 0 / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0004296/0.3837, allocations: 89.73 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.3837, allocations: 51.41 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3839, allocations: 109.8 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3839, allocations: 29.64 kB / 1.02 GB, free: 7.793 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.384, allocations: 92.14 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.384, allocations: 3.906 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.3841, allocations: 17.7 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3843, allocations: 322.8 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.3844, allocations: 24 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.3845, allocations: 15.98 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3846, allocations: 44.81 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3847, allocations: 0 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002197/0.3849, allocations: 69.72 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3849, allocations: 6.5 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3849, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.385, allocations: 4 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3851, allocations: 11.92 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3851, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.3852, allocations: 4 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3852, allocations: 0 / 1.021 GB, free: 7.164 MB / 0.795 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.0002374/0.3854, allocations: 128.2 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3855, allocations: 7.906 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.3855, allocations: 3.125 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.3855, allocations: 0 / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3855, allocations: 4.188 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3855, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.3858, allocations: 173.6 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3858, allocations: 0 / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.3859, allocations: 11.98 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3859, allocations: 0 / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3859, allocations: 4 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3859, allocations: 3.938 kB / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3859, allocations: 0 / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.3862, allocations: 171.4 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.3863, allocations: 81.09 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3863, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.3864, allocations: 8.031 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.3865, allocations: 11.98 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3865, allocations: 0 / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.3866, allocations: 79.28 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3866, allocations: 0 / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002296/0.3868, allocations: 4 kB / 1.022 GB, free: 6.395 MB / 0.795 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.0001913/0.387, allocations: 107.2 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3873, allocations: 51.89 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3873, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3874, allocations: 23.92 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3877, allocations: 5.312 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.3882, allocations: 161 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.3887, allocations: 0.6807 MB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.3887, allocations: 11.44 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3888, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of Templates: time 0.002697/0.3915, allocations: 0.679 MB / 1.023 GB, free: 4.621 MB / 0.795 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/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