Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.00186/0.00186, allocations: 79.83 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.002169/0.002169, allocations: 165.4 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.594/1.594, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.909/2.909, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.102e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001863/0.001894, allocations: 0.6688 MB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003088, allocations: 0.8509 MB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.003135, allocations: 0 / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.003233, allocations: 3.938 kB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.526e-05/0.003259, allocations: 8 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.003432, allocations: 19.92 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.222e-05/0.003514, allocations: 31.91 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.003609, allocations: 8 kB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.003711, allocations: 23.92 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.003771, allocations: 7.984 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.003793, allocations: 4 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.003804, allocations: 3.938 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.003868, allocations: 19.91 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.003899, allocations: 8 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.004001, allocations: 43.86 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.004007, allocations: 4 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.62e-07/0.004008, allocations: 3.938 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.004012, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004914/0.004503, allocations: 278.2 kB / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.004558, allocations: 8.031 kB / 0.9834 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.004598, allocations: 4.938 kB / 0.9834 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.00476, allocations: 121.7 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.004778, allocations: 384 / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.00479, allocations: 4.375 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.004999, allocations: 62.23 kB / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005007, allocations: 192 / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005016, allocations: 384 / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.005026, allocations: 12.36 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.005236, allocations: 51.88 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.005598, allocations: 212.5 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.005764, allocations: 46.55 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.005866, allocations: 20.91 kB / 0.9839 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.005884, allocations: 3.938 kB / 0.9839 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.005912, allocations: 34.56 kB / 0.9839 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005914, allocations: 0 / 0.9839 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004049/0.006319, allocations: 93.52 kB / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.006377, allocations: 59.53 kB / 0.9841 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.006469, allocations: 101.8 kB / 0.9842 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.006487, allocations: 25.7 kB / 0.9842 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.006555, allocations: 92.08 kB / 0.9843 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.006573, allocations: 7.891 kB / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.006614, allocations: 17.72 kB / 0.9843 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.006779, allocations: 314.8 kB / 0.9846 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-05/0.006877, allocations: 19.98 kB / 0.9846 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.373e-05/0.006971, allocations: 15.98 kB / 0.9846 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.007164, allocations: 52.81 kB / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007166, allocations: 0 / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002317/0.007398, allocations: 73.55 kB / 0.9847 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.007412, allocations: 4 kB / 0.9848 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.007416, allocations: 0 / 0.9848 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.007432, allocations: 4 kB / 0.9848 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.007536, allocations: 12.02 kB / 0.9848 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007541, allocations: 3.938 kB / 0.9848 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.0076, allocations: 7.984 kB / 0.9848 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.007606, allocations: 0 / 0.9848 GB, free: 8.379 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001459/0.007752, allocations: 113.8 kB / 0.9849 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.007781, allocations: 7.938 kB / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.0078, allocations: 7.297 kB / 0.9849 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007802, allocations: 0 / 0.9849 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007805, allocations: 0 / 0.9849 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.007808, allocations: 4 kB / 0.9849 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.007958, allocations: 117.4 kB / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007959, allocations: 0 / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.008035, allocations: 15.92 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.008039, allocations: 3.938 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.008049, allocations: 0 / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00805, allocations: 0 / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008051, allocations: 256 / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.008361, allocations: 159.5 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.008369, allocations: 7.984 kB / 0.9852 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.00839, allocations: 11.94 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.008479, allocations: 7.984 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.008537, allocations: 7.984 kB / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.008541, allocations: 0 / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.008598, allocations: 83.28 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.008598, allocations: 3.938 kB / 0.9853 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000227/0.008825, allocations: 4 kB / 0.9853 GB, free: 7.781 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001242/0.00895, allocations: 103.2 kB / 0.9854 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.009188, allocations: 39.95 kB / 0.9854 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.009189, allocations: 0 / 0.9854 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.009297, allocations: 27.97 kB / 0.9855 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.009557, allocations: 4 kB / 0.9855 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.009921, allocations: 120.7 kB / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.937e-05/0.01, allocations: 67.47 kB / 0.9857 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.01003, allocations: 3.984 kB / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.01007, allocations: 12.5 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.01007, allocations: 3.938 kB / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of Templates: time 0.003461/0.01353, allocations: 0.6528 MB / 0.9863 GB, free: 6.703 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.442638088017702]