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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 106.8 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.9 MB, free: 13.63 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 489.7 MB / 0.7761 GB, free: 33.75 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=502,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=502,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 69.61 kB / 1.127 GB, free: 37.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 172.1 MB / 1.295 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001832/0.3257, allocations: 0.6542 MB / 1.295 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.3266, allocations: 0.799 MB / 1.296 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.3267, allocations: 0 / 1.296 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.753e-05/0.3268, allocations: 3.938 kB / 1.296 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.361e-05/0.3268, allocations: 7.922 kB / 1.296 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.815e-05/0.3269, allocations: 11.98 kB / 1.296 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.327, allocations: 15.98 kB / 1.296 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.327, allocations: 12 kB / 1.296 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.945e-05/0.3271, allocations: 19.86 kB / 1.296 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.3272, allocations: 3.938 kB / 1.296 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3272, allocations: 4 kB / 1.296 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.3272, allocations: 4 kB / 1.296 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.3272, allocations: 11.92 kB / 1.296 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3273, allocations: 11.94 kB / 1.296 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.987e-05/0.3274, allocations: 39.81 kB / 1.296 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3274, allocations: 0 / 1.296 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3274, allocations: 0 / 1.296 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3274, allocations: 0 / 1.296 GB, free: 10.3 MB / 0.9981 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.0004738/0.3278, allocations: 347.4 kB / 1.297 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3279, allocations: 8.031 kB / 1.297 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.3279, allocations: 4.891 kB / 1.297 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3281, allocations: 168.4 kB / 1.297 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3281, allocations: 384 / 1.297 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3281, allocations: 8.375 kB / 1.297 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.3283, allocations: 50.23 kB / 1.297 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3283, allocations: 12.12 kB / 1.297 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3283, allocations: 3.938 kB / 1.297 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3283, allocations: 0 / 1.297 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3285, allocations: 39.95 kB / 1.297 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.3289, allocations: 268.9 kB / 1.297 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.329, allocations: 42.55 kB / 1.297 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.3291, allocations: 20.84 kB / 1.297 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3291, allocations: 0 / 1.297 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3291, allocations: 34.56 kB / 1.297 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3291, allocations: 0 / 1.297 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003242/0.3294, allocations: 77.64 kB / 1.297 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3295, allocations: 51.41 kB / 1.298 GB, free: 9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.3296, allocations: 105.9 kB / 1.298 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3296, allocations: 29.64 kB / 1.298 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.3296, allocations: 88.06 kB / 1.298 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3296, allocations: 7.953 kB / 1.298 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.3297, allocations: 13.72 kB / 1.298 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3298, allocations: 318.9 kB / 1.298 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.3299, allocations: 11.98 kB / 1.298 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.33, allocations: 23.97 kB / 1.298 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3301, allocations: 32.83 kB / 1.298 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3301, allocations: 0 / 1.298 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001809/0.3303, allocations: 65.72 kB / 1.298 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3303, allocations: 4 kB / 1.298 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3303, allocations: 3.938 kB / 1.298 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3303, allocations: 4 kB / 1.298 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.3304, allocations: 11.92 kB / 1.298 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3304, allocations: 0 / 1.298 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.3305, allocations: 4 kB / 1.298 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3305, allocations: 0 / 1.298 GB, free: 8.246 MB / 0.9981 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.927e-05/0.3305, allocations: 121.8 kB / 1.298 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.3306, allocations: 3.984 kB / 1.298 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.3306, allocations: 7.125 kB / 1.298 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3306, allocations: 0 / 1.298 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3306, allocations: 0 / 1.298 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3306, allocations: 0 / 1.298 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3308, allocations: 169.5 kB / 1.298 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3308, allocations: 0 / 1.298 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.3308, allocations: 4 kB / 1.298 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3308, allocations: 4 kB / 1.298 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.3308, allocations: 0 / 1.298 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3308, allocations: 4 kB / 1.298 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3308, allocations: 0 / 1.298 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3311, allocations: 159.4 kB / 1.299 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.3311, allocations: 81.05 kB / 1.299 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3311, allocations: 8.016 kB / 1.299 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.3312, allocations: 4 kB / 1.299 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3312, allocations: 4.25 kB / 1.299 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.3312, allocations: 4 kB / 1.299 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.3313, allocations: 91.2 kB / 1.299 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3313, allocations: 0 / 1.299 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002165/0.3315, allocations: 4 kB / 1.299 GB, free: 7.5 MB / 0.9981 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.0001245/0.3316, allocations: 97.05 kB / 1.299 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.3319, allocations: 39.95 kB / 1.299 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3319, allocations: 0 / 1.299 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.3319, allocations: 15.98 kB / 1.299 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3322, allocations: 8.875 kB / 1.299 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.3325, allocations: 143.2 kB / 1.299 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3329, allocations: 0.6807 MB / 1.3 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.3329, allocations: 11.44 kB / 1.3 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3329, allocations: 0 / 1.3 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of Templates: time 0.002065/0.335, allocations: 0.5638 MB / 1.3 GB, free: 5.883 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches