Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 103.1 kB / 16.35 MB, free: 6.289 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.001367/0.001367, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 62.62 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002119/0.3211, allocations: 0.6541 MB / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.322, allocations: 0.806 MB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.3221, allocations: 0 / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3222, allocations: 3.938 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.755e-05/0.3222, allocations: 0 / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.3224, allocations: 12 kB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.407e-05/0.3225, allocations: 19.92 kB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3226, allocations: 15.98 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.3226, allocations: 8 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.3227, allocations: 11.92 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3227, allocations: 0 / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.3227, allocations: 4 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.3228, allocations: 19.84 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.3228, allocations: 11.94 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.159e-05/0.3229, allocations: 31.89 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3229, allocations: 0 / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3229, allocations: 4 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.323, allocations: 0 / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004757/0.3234, allocations: 343.4 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3235, allocations: 8.031 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3235, allocations: 8.844 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3237, allocations: 164.4 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3237, allocations: 4.375 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3237, allocations: 4.375 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3239, allocations: 58.23 kB / 0.9532 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3239, allocations: 192 / 0.9532 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.324, allocations: 3.938 kB / 0.9532 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.324, allocations: 0 / 0.9532 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.3241, allocations: 43.89 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.3245, allocations: 272.8 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3247, allocations: 38.56 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.3247, allocations: 20.84 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3248, allocations: 0 / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3248, allocations: 34.56 kB / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3248, allocations: 3.938 kB / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003092/0.3251, allocations: 77.64 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.3252, allocations: 55.41 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.3253, allocations: 101.8 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3253, allocations: 25.7 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.3253, allocations: 92.02 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3254, allocations: 3.906 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.3254, allocations: 17.84 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3255, allocations: 318.8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.3256, allocations: 20.17 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.3257, allocations: 15.98 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3258, allocations: 40.81 kB / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3258, allocations: 4.062 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000169/0.326, allocations: 57.67 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.326, allocations: 8 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.326, allocations: 0 / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3261, allocations: 0 / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.3262, allocations: 7.984 kB / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3262, allocations: 0 / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.3262, allocations: 12.02 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.3262, allocations: 3.938 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.947e-05/0.3263, allocations: 117.3 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.3263, allocations: 0 / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.3264, allocations: 7.125 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3264, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3264, allocations: 4 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3264, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3266, allocations: 161.6 kB / 0.9547 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3266, allocations: 0 / 0.9547 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.3266, allocations: 11.98 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3266, allocations: 4 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.3266, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3266, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3267, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.3269, allocations: 163.4 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.3269, allocations: 77.11 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3269, allocations: 4 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.649e-05/0.327, allocations: 7.984 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.3271, allocations: 3.938 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3271, allocations: 4 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.3271, allocations: 79.28 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3271, allocations: 3.938 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002049/0.3273, allocations: 7.938 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001195/0.3275, allocations: 103.3 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.3277, allocations: 31.97 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3277, allocations: 0 / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.3277, allocations: 19.98 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.328, allocations: 9.141 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.3283, allocations: 109.7 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3286, allocations: 0.6844 MB / 0.956 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.3286, allocations: 3.906 kB / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.3287, allocations: 11.44 kB / 0.956 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3287, allocations: 0 / 0.956 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of Templates: time 0.002371/0.3311, allocations: 424.4 kB / 0.9564 GB, free: 2.227 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches