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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001109/0.001109, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001032/0.001032, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.34/1.34, 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 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 61.8 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2925, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002069/0.2946, allocations: 0.6432 MB / 0.9509 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.2956, allocations: 0.7944 MB / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2957, allocations: 0 / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.471e-05/0.2958, allocations: 3.938 kB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.044e-05/0.2958, allocations: 7.938 kB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.296, allocations: 15.92 kB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.296, allocations: 23.92 kB / 0.9517 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2962, allocations: 7.984 kB / 0.9517 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.2962, allocations: 11.98 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.2963, allocations: 11.94 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.2963, allocations: 0 / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.2963, allocations: 4 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.2964, allocations: 7.922 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.2964, allocations: 15.94 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.2965, allocations: 31.89 kB / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2965, allocations: 0 / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2965, allocations: 0 / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2965, allocations: 0 / 0.9518 GB, free: 7.242 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.0005287/0.2971, allocations: 345.1 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.2971, allocations: 8.031 kB / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.2972, allocations: 4.844 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.2974, allocations: 176.4 kB / 0.9523 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2974, allocations: 12.38 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2975, allocations: 384 / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2977, allocations: 58.17 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2977, allocations: 192 / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2978, allocations: 3.938 kB / 0.9524 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.2978, allocations: 0 / 0.9524 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.2979, allocations: 39.95 kB / 0.9524 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.2985, allocations: 276.8 kB / 0.9527 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2986, allocations: 38.48 kB / 0.9527 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.2987, allocations: 20.91 kB / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2987, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2988, allocations: 34.56 kB / 0.9528 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2988, allocations: 0 / 0.9528 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003645/0.2991, allocations: 73.64 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2992, allocations: 55.34 kB / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.2993, allocations: 101.9 kB / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2993, allocations: 29.83 kB / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.2994, allocations: 96.06 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2994, allocations: 3.906 kB / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.2995, allocations: 9.719 kB / 0.9531 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2996, allocations: 314.8 kB / 0.9534 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.2997, allocations: 19.98 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.2998, allocations: 19.91 kB / 0.9535 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3, allocations: 36.89 kB / 0.9535 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3, allocations: 0 / 0.9535 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002005/0.3002, allocations: 65.59 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3002, allocations: 14.44 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3002, allocations: 0 / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3003, allocations: 4.031 kB / 0.9536 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3004, allocations: 7.984 kB / 0.9536 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3004, allocations: 0 / 0.9536 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.3005, allocations: 4 kB / 0.9536 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3005, allocations: 0 / 0.9536 GB, free: 5.184 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 0.0001078/0.3006, allocations: 117.8 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3006, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.3006, allocations: 7.125 kB / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3006, allocations: 0 / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3007, allocations: 4 kB / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3007, allocations: 4 kB / 0.9537 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3009, allocations: 161.8 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3009, allocations: 4 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.3009, allocations: 4 kB / 0.9539 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3009, allocations: 4 kB / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.301, allocations: 0 / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.301, allocations: 0 / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.301, allocations: 0 / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3012, allocations: 167.3 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3013, allocations: 77.11 kB / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3013, allocations: 7.984 kB / 0.9541 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.3014, allocations: 4 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3014, allocations: 7.984 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3014, allocations: 0 / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.3015, allocations: 87.3 kB / 0.9542 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3015, allocations: 0 / 0.9542 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002184/0.3017, allocations: 4 kB / 0.9542 GB, free: 4.441 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.0001539/0.3019, allocations: 95.25 kB / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3021, allocations: 35.95 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3021, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.3022, allocations: 27.98 kB / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3025, allocations: 7.875 kB / 0.9544 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.3029, allocations: 135.3 kB / 0.9545 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3031, allocations: 0.6844 MB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.3032, allocations: 7.438 kB / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.3032, allocations: 4.062 kB / 0.9552 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.001827/0.305, allocations: 0.5677 MB / 0.9558 GB, free: 2.816 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 -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