Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009755/0.009755, allocations: 106.3 kB / 15.74 MB, free: 6.449 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.002245/0.002245, allocations: 195.1 kB / 16.67 MB, free: 6.352 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.91 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3836, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002366/0.386, allocations: 0.6581 MB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3871, allocations: 0.7902 MB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.3872, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3873, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.111e-05/0.3873, allocations: 7.922 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.3874, allocations: 8 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.3875, allocations: 23.92 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3876, allocations: 4 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.3877, allocations: 15.92 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.3878, allocations: 11.98 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3878, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.3878, allocations: 7.938 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.3879, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.3879, allocations: 15.92 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.388, allocations: 31.89 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.388, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.388, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.388, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 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.0004663/0.3885, allocations: 351.3 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3885, allocations: 8.031 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.3886, allocations: 0.9375 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3887, allocations: 172.3 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3887, allocations: 8.375 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3887, allocations: 384 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3889, allocations: 58.22 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3889, allocations: 192 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3889, allocations: 7.938 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3889, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3891, allocations: 35.91 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.3895, allocations: 288.7 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3897, allocations: 30.56 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.3897, allocations: 20.91 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3897, allocations: 3.938 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3898, allocations: 34.56 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.3898, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003211/0.3901, allocations: 77.58 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.3901, allocations: 51.41 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.3902, allocations: 105.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3902, allocations: 29.83 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.3903, allocations: 88.09 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.3903, allocations: 4 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3903, allocations: 9.719 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3905, allocations: 318.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.3905, allocations: 15.98 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.3906, allocations: 15.98 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3907, allocations: 36.89 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3907, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001778/0.3909, allocations: 69.55 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3909, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3909, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.391, allocations: 4.031 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.391, allocations: 7.984 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.391, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.3911, allocations: 8.234 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3911, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 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 0.0001108/0.3912, allocations: 114.3 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3912, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.3913, allocations: 7.125 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3913, allocations: 4 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3913, allocations: 0 / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3913, allocations: 3.984 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3914, allocations: 165.6 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3914, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.3915, allocations: 11.92 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3915, allocations: 0 / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3915, allocations: 4 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3915, allocations: 0 / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3915, allocations: 0 / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.3917, allocations: 163.4 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.3918, allocations: 77.11 kB / 1.224 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3918, allocations: 0 / 1.224 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.3918, allocations: 8 kB / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.3919, allocations: 7.984 kB / 1.224 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3919, allocations: 0 / 1.224 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.3919, allocations: 87.25 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3919, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002124/0.3921, allocations: 7.953 kB / 1.225 GB, free: 9.387 MB / 0.9825 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.0001225/0.3923, allocations: 95.25 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3925, allocations: 35.95 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3925, allocations: 3.938 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.3925, allocations: 20.05 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3928, allocations: 9.656 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.3932, allocations: 117.3 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3934, allocations: 0.6807 MB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.3935, allocations: 3.984 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.3935, allocations: 7.438 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3935, allocations: 4.062 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.002476/0.396, allocations: 430.2 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches