Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.946/2.946, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.8108 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.942e-05, allocations: 8.156 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001891/0.00192, allocations: 0.6408 MB / 0.8114 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003151, allocations: 0.8121 MB / 0.8122 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.003197, allocations: 0 / 0.8122 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.003299, allocations: 4.625 kB / 0.8122 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.003327, allocations: 7.938 kB / 0.8122 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.003439, allocations: 8.891 kB / 0.8122 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.003516, allocations: 19.94 kB / 0.8123 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.003602, allocations: 12.62 kB / 0.8123 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.00367, allocations: 15.92 kB / 0.8123 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.003727, allocations: 8.625 kB / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.003746, allocations: 5.094 kB / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-06/0.003753, allocations: 0 / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.003803, allocations: 11.92 kB / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.003839, allocations: 4.875 kB / 0.8123 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.003945, allocations: 39.81 kB / 0.8124 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003947, allocations: 0 / 0.8124 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003948, allocations: 1.25 kB / 0.8124 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003952, allocations: 0 / 0.8124 GB, free: 15.39 MB / 0.7292 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.000522/0.004474, allocations: 267.8 kB / 0.8126 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.004521, allocations: 12.03 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.00457, allocations: 0.9375 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.004739, allocations: 117.8 kB / 0.8127 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.00475, allocations: 5.875 kB / 0.8127 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.004763, allocations: 4.359 kB / 0.8127 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.004987, allocations: 62.17 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004995, allocations: 2.094 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005005, allocations: 384 / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.005009, allocations: 384 / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.005186, allocations: 39.89 kB / 0.8128 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.005901, allocations: 217.9 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.006046, allocations: 39.19 kB / 0.8131 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.006141, allocations: 18.88 kB / 0.8131 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.006155, allocations: 0 / 0.8131 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.0062, allocations: 42.5 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.006201, allocations: 0 / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0003768/0.006578, allocations: 74.89 kB / 0.8132 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.006629, allocations: 56.69 kB / 0.8133 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006737, allocations: 101.8 kB / 0.8134 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.006759, allocations: 29.7 kB / 0.8134 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.006833, allocations: 84.09 kB / 0.8135 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.006849, allocations: 4.625 kB / 0.8135 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.006886, allocations: 14.84 kB / 0.8135 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.00706, allocations: 318.8 kB / 0.8138 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.007149, allocations: 15.98 kB / 0.8138 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.007226, allocations: 13.45 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.007388, allocations: 42.09 kB / 0.8139 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.007389, allocations: 0 / 0.8139 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002122/0.007601, allocations: 71.25 kB / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.007616, allocations: 4 kB / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00762, allocations: 0 / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.007639, allocations: 5.344 kB / 0.814 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.007722, allocations: 7.984 kB / 0.814 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007728, allocations: 0 / 0.814 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.007779, allocations: 8.953 kB / 0.814 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.007785, allocations: 0 / 0.814 GB, free: 13.59 MB / 0.7292 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 9.391e-05/0.007879, allocations: 112.2 kB / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.007905, allocations: 3.938 kB / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.007922, allocations: 7.156 kB / 0.8141 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007923, allocations: 0 / 0.8141 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007927, allocations: 0 / 0.8141 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.00793, allocations: 4 kB / 0.8141 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.008085, allocations: 109 kB / 0.8142 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.008086, allocations: 0 / 0.8142 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.008146, allocations: 11.98 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008148, allocations: 0 / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.008157, allocations: 3.938 kB / 0.8142 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.008161, allocations: 4 kB / 0.8142 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008162, allocations: 0 / 0.8142 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.008439, allocations: 156.2 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.00845, allocations: 4.5 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.008465, allocations: 3.938 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.008543, allocations: 8.547 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.008581, allocations: 0.5625 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.008583, allocations: 1.344 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.475e-05/0.008658, allocations: 87.27 kB / 0.8145 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.008658, allocations: 0 / 0.8145 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002244/0.008883, allocations: 7.953 kB / 0.8145 GB, free: 13.03 MB / 0.7292 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.0001462/0.009029, allocations: 96.94 kB / 0.8146 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.009249, allocations: 36.56 kB / 0.8146 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.009252, allocations: 1.312 kB / 0.8146 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.009339, allocations: 19.91 kB / 0.8146 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.009674, allocations: 11.84 kB / 0.8146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.01003, allocations: 116.5 kB / 0.8147 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.749e-05/0.0101, allocations: 63.34 kB / 0.8148 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.01014, allocations: 4 kB / 0.8148 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.01017, allocations: 8.5 kB / 0.8148 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.01017, allocations: 0 / 0.8148 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.003009/0.01318, allocations: 473.5 kB / 0.8153 GB, free: 12.18 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 7.781811001012102]