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.00115/0.00115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00144/0.00144, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.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.7/2.7, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.808, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002524/0.8106, allocations: 0.7283 MB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.8119, allocations: 0.8312 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.812, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.8121, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.8122, allocations: 7.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.8125, allocations: 23.97 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.8126, allocations: 31.92 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.8127, allocations: 8 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.8128, allocations: 15.92 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.8129, allocations: 15.92 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.8129, allocations: 7.984 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.813, allocations: 4 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.8131, allocations: 11.98 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.8131, allocations: 15.88 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.8133, allocations: 35.88 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.8133, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.634e-06/0.8133, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.8133, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 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.0006877/0.814, allocations: 353.4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.8141, allocations: 8.031 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.8141, allocations: 8.844 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.8143, allocations: 180.2 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.8144, allocations: 4.375 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.8144, allocations: 4.375 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.8146, allocations: 66.22 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.8146, allocations: 192 / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.8147, allocations: 3.938 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8147, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.8149, allocations: 39.95 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.8153, allocations: 284.7 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.8155, allocations: 42.55 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.8156, allocations: 20.91 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.8156, allocations: 8 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.8157, allocations: 34.55 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.8157, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003807/0.8161, allocations: 85.58 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.8161, allocations: 55.41 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.8162, allocations: 114 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.8163, allocations: 25.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.8163, allocations: 95.92 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.8163, allocations: 3.906 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.8164, allocations: 21.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.8166, allocations: 314.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.8168, allocations: 19.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.8169, allocations: 19.97 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.817, allocations: 44.77 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.817, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.8173, allocations: 65.66 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8173, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8173, allocations: 4.094 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8173, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.8174, allocations: 11.98 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8174, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.8175, allocations: 7.984 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.8175, allocations: 4 kB / 1.02 GB, free: 14.85 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.8177, allocations: 114.3 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.8177, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.8177, allocations: 19.09 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8177, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8178, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8178, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.818, allocations: 169.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.818, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.8181, allocations: 11.92 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.8181, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.8181, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8181, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8181, allocations: 7.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.8184, allocations: 167.4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.8185, allocations: 81.11 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.8185, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.8186, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.8186, allocations: 12.02 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.8187, allocations: 4.25 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.8187, allocations: 87.28 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8187, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.8189, allocations: 4 kB / 1.021 GB, free: 14.07 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 (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.0001539/0.8191, allocations: 107.2 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.8193, allocations: 43.89 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8194, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.8195, allocations: 23.97 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.8197, allocations: 9.062 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.8201, allocations: 125.5 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.8204, allocations: 0.6847 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.8205, allocations: 3.984 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.8205, allocations: 11.44 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of SimCode: time 1.794e-06/0.8205, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.002837/0.8233, allocations: 0.5373 MB / 1.023 GB, free: 12.47 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