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.001599/0.001599, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001938/0.001938, allocations: 209.1 kB / 23 MB, free: 4.934 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.39/3.39, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 71.8 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4153, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002183/0.4175, allocations: 0.6456 MB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.4187, allocations: 0.8164 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.4187, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.4188, allocations: 3.938 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.4189, allocations: 11.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.419, allocations: 7.984 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.489e-05/0.4191, allocations: 23.94 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4192, allocations: 19.97 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.4192, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.4193, allocations: 15.92 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.4193, allocations: 0 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.4193, allocations: 4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.4194, allocations: 11.98 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.4194, allocations: 7.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.4195, allocations: 31.88 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4195, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4195, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4195, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 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.000478/0.42, allocations: 275.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.42, allocations: 8.031 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.4201, allocations: 12.83 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4202, allocations: 106.5 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4202, allocations: 4.359 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4202, allocations: 4.375 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.4204, allocations: 54.23 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4205, allocations: 192 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4205, allocations: 11.94 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4205, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.4206, allocations: 31.97 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.421, allocations: 224.5 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.4211, allocations: 34.48 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.4212, allocations: 20.91 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.4213, allocations: 8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4213, allocations: 34.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.4213, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003353/0.4216, allocations: 73.64 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.4217, allocations: 51.41 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.4218, allocations: 101.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4218, allocations: 25.7 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.4218, allocations: 88.12 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.4218, allocations: 8.078 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.4219, allocations: 13.72 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.422, allocations: 310.8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.4221, allocations: 15.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.4222, allocations: 19.97 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4223, allocations: 36.77 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4223, allocations: 4.062 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001836/0.4225, allocations: 65.59 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4225, allocations: 8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4225, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4225, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.4226, allocations: 7.984 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4226, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.4227, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4227, allocations: 7.969 kB / 1.33 GB, free: 13.57 MB / 1.029 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.909e-05/0.4228, allocations: 126.2 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.4228, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.4228, allocations: 7.094 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4228, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4228, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.4228, allocations: 3.953 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.4228, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.4229, allocations: 7.984 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.423, allocations: 7.875 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002461/0.4232, allocations: 144.9 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002796/0.4235, allocations: 230.8 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.857e-05/0.4236, allocations: 23.91 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.4236, allocations: 83.28 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Backend: time 4e-07/0.4236, allocations: 4.062 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.424, allocations: 88.42 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009644/0.425, allocations: 0.5537 MB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Templates: time 0.003322/0.4283, allocations: 0.5694 MB / 1.332 GB, free: 11.64 MB / 1.029 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/jenkins1/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: 9.368084822999663]