Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001945/0.001945, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002401/0.002401, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.583/1.583, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.835/2.835, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.348e-05, allocations: 4.391 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00174/0.001774, allocations: 0.6469 MB / 0.9516 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.002944, allocations: 0.816 MB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.002993, allocations: 3.938 kB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.176e-05/0.003085, allocations: 0 / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.647e-05/0.003111, allocations: 3.938 kB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.003231, allocations: 11.98 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.114e-05/0.003313, allocations: 23.92 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003415, allocations: 4 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.003487, allocations: 15.92 kB / 0.9525 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.00354, allocations: 8 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.003561, allocations: 4 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.003571, allocations: 4 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.003627, allocations: 15.97 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.003656, allocations: 3.938 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.003754, allocations: 35.83 kB / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003757, allocations: 0 / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003758, allocations: 0 / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003763, allocations: 0 / 0.9525 GB, free: 9.98 MB / 0.8575 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.0004662/0.004229, allocations: 262.3 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.004272, allocations: 12.02 kB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.004308, allocations: 16.89 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.004456, allocations: 109.8 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.004467, allocations: 4.312 kB / 0.9529 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.004483, allocations: 4.375 kB / 0.9529 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.004685, allocations: 58.17 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.004696, allocations: 192 / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004705, allocations: 384 / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.004711, allocations: 4.375 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.004883, allocations: 43.89 kB / 0.953 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.00526, allocations: 220.5 kB / 0.9532 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.005387, allocations: 30.5 kB / 0.9533 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.005476, allocations: 20.91 kB / 0.9533 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005492, allocations: 4 kB / 0.9533 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.005524, allocations: 38.48 kB / 0.9533 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.005525, allocations: 0 / 0.9533 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003556/0.005881, allocations: 73.66 kB / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.005924, allocations: 55.34 kB / 0.9534 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.006024, allocations: 105.8 kB / 0.9535 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.006041, allocations: 25.7 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.006095, allocations: 84.14 kB / 0.9536 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.006115, allocations: 7.938 kB / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.006152, allocations: 13.72 kB / 0.9537 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.006302, allocations: 310.8 kB / 0.954 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.006388, allocations: 20.11 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.006464, allocations: 15.98 kB / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.006619, allocations: 36.81 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00662, allocations: 0 / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001987/0.006819, allocations: 69.61 kB / 0.9541 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.006835, allocations: 7.984 kB / 0.9541 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006839, allocations: 4 kB / 0.9541 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.006854, allocations: 0 / 0.9541 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.006937, allocations: 4 kB / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006941, allocations: 0 / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.006987, allocations: 7.984 kB / 0.9541 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006993, allocations: 0 / 0.9541 GB, free: 8.168 MB / 0.8575 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 8.502e-05/0.007078, allocations: 109.8 kB / 0.9542 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.007104, allocations: 11.83 kB / 0.9542 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.007126, allocations: 19.11 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.007127, allocations: 0 / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.007136, allocations: 8.234 kB / 0.9543 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.007138, allocations: 0 / 0.9543 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.007271, allocations: 109.3 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.007274, allocations: 3.984 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.007327, allocations: 4 kB / 0.9544 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007328, allocations: 0 / 0.9544 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.00734, allocations: 3.938 kB / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007341, allocations: 4 kB / 0.9544 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007341, allocations: 4 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.007588, allocations: 155.5 kB / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.007596, allocations: 4 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.00761, allocations: 3.938 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.007685, allocations: 7.984 kB / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.007728, allocations: 0 / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.00773, allocations: 0 / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.00778, allocations: 87.27 kB / 0.9546 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.00778, allocations: 4.031 kB / 0.9546 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002132/0.007993, allocations: 4 kB / 0.9546 GB, free: 7.578 MB / 0.8575 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.0001183/0.008111, allocations: 99.19 kB / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.008332, allocations: 39.95 kB / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008333, allocations: 0 / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.00842, allocations: 15.92 kB / 0.9548 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.008712, allocations: 12.12 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.009023, allocations: 108.9 kB / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.009086, allocations: 63.34 kB / 0.955 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.009114, allocations: 0 / 0.955 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.009144, allocations: 12.5 kB / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of SimCode: time 4.3e-07/0.009144, allocations: 0 / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.002995/0.01214, allocations: 467.1 kB / 0.9554 GB, free: 6.734 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.290889289230108]