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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.071/3.071, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,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.001942/0.001942, allocations: 71.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268/1.27, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001749/1.272, allocations: 0.6603 MB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006946/1.272, allocations: 0.7943 MB / 1.307 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/1.272, allocations: 0 / 1.307 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.597e-05/1.272, allocations: 3.938 kB / 1.307 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.187e-05/1.272, allocations: 10.58 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/1.272, allocations: 7.422 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.812e-05/1.273, allocations: 29.72 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/1.273, allocations: 2.906 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/1.273, allocations: 14.08 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/1.273, allocations: 9.766 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/1.273, allocations: 2.688 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/1.273, allocations: 2.719 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/1.273, allocations: 10.5 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/1.273, allocations: 10.84 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.546e-05/1.273, allocations: 37.44 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.273, allocations: 0 / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/1.273, allocations: 0 / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.99e-06/1.273, allocations: 4 kB / 1.307 GB, free: 32.37 MB / 1.061 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.0004163/1.273, allocations: 346.9 kB / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.273, allocations: 8.906 kB / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/1.273, allocations: 3.938 kB / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/1.274, allocations: 170.5 kB / 1.307 GB, free: 31.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.274, allocations: 4.375 kB / 1.307 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/1.274, allocations: 3.375 kB / 1.307 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/1.274, allocations: 61.97 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.274, allocations: 192 / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.274, allocations: 3.938 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/1.274, allocations: 3.062 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/1.274, allocations: 35.94 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/1.274, allocations: 269.6 kB / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/1.274, allocations: 44.67 kB / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/1.274, allocations: 18.72 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/1.275, allocations: 7.031 kB / 1.308 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/1.275, allocations: 30.56 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/1.275, allocations: 0 / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003003/1.275, allocations: 80.59 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/1.275, allocations: 53.97 kB / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/1.275, allocations: 103 kB / 1.308 GB, free: 31.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/1.275, allocations: 25.7 kB / 1.308 GB, free: 31.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/1.275, allocations: 95.97 kB / 1.308 GB, free: 31.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/1.275, allocations: 2.969 kB / 1.308 GB, free: 31.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/1.275, allocations: 9.844 kB / 1.308 GB, free: 31.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/1.275, allocations: 325 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/1.275, allocations: 15.7 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/1.275, allocations: 15.12 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/1.275, allocations: 37.05 kB / 1.309 GB, free: 30.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.275, allocations: 4.062 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001512/1.275, allocations: 63.34 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.275, allocations: 8.094 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.275, allocations: 0 / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.275, allocations: 0 / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/1.276, allocations: 8.844 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.276, allocations: 0 / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/1.276, allocations: 10.45 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/1.276, allocations: 4.031 kB / 1.309 GB, free: 30.64 MB / 1.061 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 4.509e-05/1.276, allocations: 112.9 kB / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/1.276, allocations: 0 / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/1.276, allocations: 10.06 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.276, allocations: 3.375 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.276, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/1.276, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/1.276, allocations: 159 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/1.276, allocations: 0 / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/1.276, allocations: 16.94 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/1.276, allocations: 0 / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/1.276, allocations: 0 / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/1.276, allocations: 2.906 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.276, allocations: 3.938 kB / 1.309 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/1.276, allocations: 161.6 kB / 1.309 GB, free: 30.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/1.276, allocations: 81.14 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/1.276, allocations: 3.094 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/1.276, allocations: 14.36 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/1.276, allocations: 0 / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/1.276, allocations: 0 / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.15e-05/1.276, allocations: 81.03 kB / 1.309 GB, free: 29.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.276, allocations: 0 / 1.309 GB, free: 29.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002088/1.276, allocations: 6.797 kB / 1.309 GB, free: 29.99 MB / 1.061 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 9.388e-05/1.276, allocations: 103.5 kB / 1.309 GB, free: 29.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001926/1.277, allocations: 34.16 kB / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.277, allocations: 0 / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/1.277, allocations: 20.41 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/1.277, allocations: 10.94 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/1.277, allocations: 126.1 kB / 1.31 GB, free: 29.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/1.277, allocations: 0.6803 MB / 1.31 GB, free: 29.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.697e-05/1.277, allocations: 3 kB / 1.31 GB, free: 29.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/1.277, allocations: 10.25 kB / 1.31 GB, free: 29.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.277, allocations: 0 / 1.31 GB, free: 29.05 MB / 1.061 GB Notification: Performance of Templates: time 0.002647/1.28, allocations: 423.7 kB / 1.311 GB, free: 28.99 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 10.103700082749128]