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.0008364/0.0008364, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008204/0.0008204, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8935/0.8935, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.787/1.787, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.815e-06/2.815e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.501e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001944/0.001979, allocations: 0.6468 MB / 0.9828 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003086, allocations: 0.8121 MB / 0.9836 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.003137, allocations: 3.938 kB / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.003241, allocations: 3.938 kB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.717e-05/0.003268, allocations: 7.938 kB / 0.9836 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.003401, allocations: 7.984 kB / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.003487, allocations: 27.91 kB / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003595, allocations: 4 kB / 0.9837 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.003665, allocations: 11.98 kB / 0.9837 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.003721, allocations: 15.92 kB / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.003746, allocations: 4 kB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.003753, allocations: 0 / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.003813, allocations: 8 kB / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.003853, allocations: 11.98 kB / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.003956, allocations: 35.77 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.00396, allocations: 3.984 kB / 0.9838 GB, free: 476 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003961, allocations: 0 / 0.9838 GB, free: 476 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003966, allocations: 0 / 0.9838 GB, free: 476 kB / 0.9323 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.0004335/0.004399, allocations: 266.3 kB / 0.984 GB, free: 176 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.004444, allocations: 16.03 kB / 0.984 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.004481, allocations: 0.9375 kB / 0.984 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.004626, allocations: 113.7 kB / 0.9841 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.004639, allocations: 4.375 kB / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.00465, allocations: 384 / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.004846, allocations: 62.17 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.004855, allocations: 192 / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.004866, allocations: 4.375 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004871, allocations: 384 / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.004993, allocations: 43.89 kB / 0.9842 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.005364, allocations: 212.6 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.302e-05/0.005457, allocations: 38.5 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.005515, allocations: 20.89 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.005526, allocations: 0 / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.005554, allocations: 34.5 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.005555, allocations: 0 / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0002829/0.005838, allocations: 85.58 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.005882, allocations: 55.34 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.005966, allocations: 101.9 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.005978, allocations: 25.7 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.006027, allocations: 92.08 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.006044, allocations: 0 / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.006078, allocations: 9.719 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.006178, allocations: 318.8 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.006238, allocations: 16.11 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.006295, allocations: 19.97 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.006402, allocations: 28.83 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006404, allocations: 0 / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001574/0.006561, allocations: 77.59 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.006579, allocations: 4 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006584, allocations: 0 / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.006598, allocations: 0 / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.006673, allocations: 7.984 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.00668, allocations: 3.984 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.006714, allocations: 7.953 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.00672, allocations: 0 / 0.9854 GB, free: 14.65 MB / 0.948 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 7.108e-05/0.006791, allocations: 113.8 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.006816, allocations: 15.89 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.006835, allocations: 7.156 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006838, allocations: 0 / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.006843, allocations: 0 / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.006845, allocations: 0 / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.006973, allocations: 105.3 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006975, allocations: 0 / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.007016, allocations: 8.25 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007018, allocations: 0 / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.007028, allocations: 7.938 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.007031, allocations: 3.984 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.007032, allocations: 4 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.007225, allocations: 155.5 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.007233, allocations: 3.984 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.007248, allocations: 7.875 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.007311, allocations: 8 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.007349, allocations: 3.984 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.007352, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.007388, allocations: 83.28 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007388, allocations: 4.031 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002676/0.007656, allocations: 11.89 kB / 0.9859 GB, free: 14.07 MB / 0.948 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.0001092/0.007765, allocations: 91.25 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.007933, allocations: 35.95 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007935, allocations: 0 / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.007995, allocations: 23.92 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.008342, allocations: 6.781 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.008663, allocations: 134.5 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.008724, allocations: 59.34 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.008754, allocations: 12.5 kB / 0.9862 GB, free: 13.65 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.008755, allocations: 0 / 0.9862 GB, free: 13.65 MB / 0.948 GB Notification: Performance of Templates: time 0.001913/0.01067, allocations: 0.5947 MB / 0.9868 GB, free: 13.06 MB / 0.948 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: 6.596550919115543]