Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009774/0.0009775, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003955, allocations: 14.17 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001072/0.322, allocations: 383.2 kB / 1.06 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3231, allocations: 0.7885 MB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.3231, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3233, allocations: 7.938 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.3233, allocations: 0 / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.3234, allocations: 11.98 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.3235, allocations: 23.91 kB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3236, allocations: 8 kB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.3237, allocations: 7.938 kB / 1.061 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.3238, allocations: 7.984 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3238, allocations: 7.938 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.3238, allocations: 0 / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.3239, allocations: 11.98 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.3239, allocations: 33.64 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.584e-05/0.324, allocations: 23.95 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.324, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.155e-06/0.324, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3241, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 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.0005288/0.3246, allocations: 343.7 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.3247, allocations: 15.97 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.3247, allocations: 8.844 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.3249, allocations: 180.3 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3249, allocations: 4.312 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.325, allocations: 384 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.3252, allocations: 58.23 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3252, allocations: 192 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.3252, allocations: 11.94 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3253, allocations: 7.938 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.3255, allocations: 39.97 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.3261, allocations: 292.7 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3263, allocations: 30.56 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3264, allocations: 36.89 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.3264, allocations: 0 / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3264, allocations: 30.56 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3264, allocations: 0 / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003828/0.3268, allocations: 97.58 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.3269, allocations: 51.41 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.327, allocations: 101.8 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.327, allocations: 29.7 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.3271, allocations: 88.08 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3271, allocations: 3.906 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.3271, allocations: 13.84 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3273, allocations: 322.8 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.3274, allocations: 19.98 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.3274, allocations: 15.98 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3276, allocations: 52.88 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3276, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002092/0.3278, allocations: 77.61 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3279, allocations: 4 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3279, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3279, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.328, allocations: 11.98 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.328, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.3281, allocations: 16.02 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3281, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 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 8.425e-05/0.3282, allocations: 109.8 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.3282, allocations: 4 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.3282, allocations: 7.125 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3282, allocations: 0 / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3282, allocations: 0 / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3282, allocations: 0 / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3284, allocations: 165.6 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3284, allocations: 8.188 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.3285, allocations: 15.98 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3285, allocations: 3.938 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3285, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3285, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3285, allocations: 3.938 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3288, allocations: 175.4 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.3289, allocations: 77.11 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.3289, allocations: 0 / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.329, allocations: 15.98 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.329, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.329, allocations: 4.031 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.3291, allocations: 79.28 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3291, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002135/0.3293, allocations: 4 kB / 1.063 GB, free: 0.7031 MB / 0.8106 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.0001351/0.3294, allocations: 103.2 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3296, allocations: 47.91 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3297, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3298, allocations: 19.98 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3301, allocations: 7.938 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.3304, allocations: 145.4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3308, allocations: 0.6809 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.3309, allocations: 7.438 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3309, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.002049/0.3329, allocations: 0.5644 MB / 1.065 GB, free: 15.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches