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.001487/0.001487, allocations: 104.2 kB / 16.27 MB, free: 6.418 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.001635/0.001635, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.739/2.739, allocations: 437 MB / 0.711 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.77 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2834, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001993/0.2855, allocations: 0.6626 MB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.2865, allocations: 0.8312 MB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.2866, allocations: 3.938 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.049e-05/0.2867, allocations: 3.938 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.233e-05/0.2867, allocations: 7.938 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.2869, allocations: 15.97 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.287, allocations: 35.92 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2871, allocations: 7.984 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.2871, allocations: 11.94 kB / 1.02 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.2872, allocations: 15.92 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.2872, allocations: 4 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.2873, allocations: 4 kB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.2873, allocations: 15.97 kB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.2874, allocations: 23.81 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.776e-05/0.2875, allocations: 39.88 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2875, allocations: 4 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2875, allocations: 0 / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.2875, allocations: 0 / 1.02 GB, free: 8.996 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.0004646/0.288, allocations: 347.6 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.288, allocations: 12.91 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.2881, allocations: 8.938 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2882, allocations: 172.4 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2883, allocations: 4.375 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.2883, allocations: 8.359 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2885, allocations: 62.22 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2885, allocations: 192 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2885, allocations: 3.938 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2885, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.2888, allocations: 47.89 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.2892, allocations: 284.7 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.2893, allocations: 38.56 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2894, allocations: 32.83 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2895, allocations: 4 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2895, allocations: 30.56 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2895, allocations: 0 / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003811/0.2899, allocations: 85.64 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2899, allocations: 51.41 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.29, allocations: 109.9 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2901, allocations: 25.7 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.2901, allocations: 92.08 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2901, allocations: 7.891 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2902, allocations: 13.72 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2903, allocations: 318.8 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.2904, allocations: 23.91 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.2905, allocations: 23.92 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2907, allocations: 44.81 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2907, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002194/0.2909, allocations: 69.66 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.291, allocations: 4 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.291, allocations: 0 / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.291, allocations: 4.094 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2911, allocations: 11.98 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2911, allocations: 0 / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.2912, allocations: 7.938 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2912, allocations: 0 / 1.021 GB, free: 6.855 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.0001361/0.2913, allocations: 121.8 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.2914, allocations: 3.906 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.2914, allocations: 7.125 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2914, allocations: 4 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2914, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2914, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.2916, allocations: 169.8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2916, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.2917, allocations: 15.98 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2917, allocations: 0 / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.2917, allocations: 0 / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2917, allocations: 0 / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2917, allocations: 3.938 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.292, allocations: 171.5 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.292, allocations: 81.09 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2921, allocations: 3.938 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.2922, allocations: 4 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.2922, allocations: 11.98 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2922, allocations: 4.031 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.2923, allocations: 79.28 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2923, allocations: 0 / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002237/0.2925, allocations: 4 kB / 1.022 GB, free: 6.09 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.0001229/0.2926, allocations: 103.2 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.2929, allocations: 47.89 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2929, allocations: 4.062 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.293, allocations: 19.98 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2933, allocations: 5.312 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.2936, allocations: 156 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2939, allocations: 0.6768 MB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.294, allocations: 19.38 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.294, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of Templates: time 0.002203/0.2962, allocations: 0.6696 MB / 1.024 GB, free: 4.336 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