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.0007989/0.0007989, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001902, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001033/0.001033, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002385, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9012/0.9012, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09075/0.992, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.804/1.804, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5176/2.322, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.348e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001375/0.001389, allocations: 0.6974 MB / 0.7303 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.002052, allocations: 0.8491 MB / 0.7312 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.002087, allocations: 0 / 0.7312 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.002134, allocations: 5.219 kB / 0.7312 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.857e-05/0.002153, allocations: 1.75 kB / 0.7312 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.369e-05/0.002217, allocations: 15.92 kB / 0.7312 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.002287, allocations: 27.66 kB / 0.7312 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.339e-05/0.00236, allocations: 11.98 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.002433, allocations: 18.28 kB / 0.7312 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.002487, allocations: 8.859 kB / 0.7312 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.002504, allocations: 4 kB / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.002512, allocations: 0 / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.002559, allocations: 9.75 kB / 0.7313 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.002584, allocations: 4.984 kB / 0.7313 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.926e-05/0.002653, allocations: 19.66 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.002662, allocations: 0 / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002663, allocations: 1.406 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.002674, allocations: 0 / 0.7313 GB, free: 2.781 MB / 0.698 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.0003198/0.002994, allocations: 248.5 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.003025, allocations: 9.328 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.003053, allocations: 10.56 kB / 0.7315 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.003158, allocations: 105.8 kB / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-06/0.003165, allocations: 384 / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.003177, allocations: 4.375 kB / 0.7316 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.003277, allocations: 59.84 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003284, allocations: 0.9531 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.00329, allocations: 384 / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003296, allocations: 0.875 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.398e-05/0.003309, allocations: 9.688 kB / 0.7317 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.003509, allocations: 171 kB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.00355, allocations: 18.58 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.003563, allocations: 4.859 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.003571, allocations: 1.875 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.00359, allocations: 38.56 kB / 0.7319 GB, free: 2.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003591, allocations: 0 / 0.7319 GB, free: 2.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 9.57e-05/0.003687, allocations: 38.36 kB / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.003713, allocations: 52.53 kB / 0.732 GB, free: 1.918 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.003764, allocations: 102.9 kB / 0.7321 GB, free: 1.805 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.003774, allocations: 30.47 kB / 0.7321 GB, free: 1.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.003804, allocations: 84.91 kB / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.003819, allocations: 7.891 kB / 0.7322 GB, free: 1.676 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.003841, allocations: 18.48 kB / 0.7322 GB, free: 1.652 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.003915, allocations: 310.8 kB / 0.7325 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-06/0.003921, allocations: 0.625 kB / 0.7325 GB, free: 1.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.003933, allocations: 8.969 kB / 0.7326 GB, free: 1.332 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.003953, allocations: 12.39 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.003955, allocations: 0.6875 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.571e-05/0.003991, allocations: 39.09 kB / 0.7326 GB, free: 1.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.004002, allocations: 5.094 kB / 0.7326 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.004008, allocations: 3.938 kB / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.004018, allocations: 0 / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.004068, allocations: 8.719 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.00407, allocations: 0.5469 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.004086, allocations: 9.328 kB / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.00409, allocations: 0 / 0.7326 GB, free: 1.25 MB / 0.698 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 5.154e-05/0.004142, allocations: 112.7 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.004153, allocations: 5.594 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.004172, allocations: 7.969 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.004174, allocations: 0 / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.004175, allocations: 3.938 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.004178, allocations: 0.8438 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.847e-05/0.004256, allocations: 69.88 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004257, allocations: 1.25 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.00427, allocations: 4 kB / 0.7328 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.004276, allocations: 4 kB / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.004277, allocations: 2.328 kB / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.00428, allocations: 0 / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.004282, allocations: 3.938 kB / 0.7328 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.004283, allocations: 0 / 0.7328 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.066e-05/0.004353, allocations: 128.8 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.004362, allocations: 4 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.683e-05/0.004388, allocations: 5.25 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.004426, allocations: 7.922 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.004428, allocations: 0 / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.638e-05/0.004444, allocations: 13.62 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004444, allocations: 1.031 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001063/0.00455, allocations: 7.938 kB / 0.733 GB, free: 0.8359 MB / 0.698 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 7.477e-05/0.004625, allocations: 78.2 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.861e-05/0.004684, allocations: 17.81 kB / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.004688, allocations: 0 / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.004713, allocations: 9.547 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.004874, allocations: 36.98 kB / 0.7331 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.005219, allocations: 113.3 kB / 0.7332 GB, free: 0.543 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.005251, allocations: 55.34 kB / 0.7333 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.005265, allocations: 4.75 kB / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.005306, allocations: 53.12 kB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.005306, allocations: 0 / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of Templates: time 0.001672/0.006978, allocations: 465.5 kB / 0.7338 GB, free: 15.97 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7185894679278135]