Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001499/0.001499, allocations: 80.77 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.001705/0.001705, allocations: 165.2 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.555/1.555, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.929/2.929, allocations: 359 MB / 0.6037 GB, free: 14.97 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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.485e-05, allocations: 5.234 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02968/0.02972, allocations: 20.93 MB / 0.9714 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03259/0.06231, allocations: 16.65 MB / 0.9877 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.06681, allocations: 174.6 kB / 0.9878 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01343/0.08025, allocations: 4.171 MB / 0.9919 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.09419, allocations: 3.699 MB / 0.9955 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.09864, allocations: 1.321 MB / 0.9968 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.1099, allocations: 5.954 MB / 1.003 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006996/0.1169, allocations: 2.845 MB / 1.005 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.1284, allocations: 3.695 MB / 1.009 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005695/0.1341, allocations: 1.916 MB / 1.011 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001907/0.136, allocations: 368 kB / 1.011 GB, free: 13.58 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.1403, allocations: 0.9706 MB / 1.012 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.1421, allocations: 1.261 MB / 1.013 GB, free: 11.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.1451, allocations: 1.368 MB / 1.015 GB, free: 9.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008832/0.1539, allocations: 5.203 MB / 1.02 GB, free: 4.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1539, allocations: 0 / 1.02 GB, free: 4.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1539, allocations: 0 / 1.02 GB, free: 4.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001934/0.1541, allocations: 0 / 1.02 GB, free: 4.75 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01245/0.1666, allocations: 4.6 MB / 1.024 GB, free: 52 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.1666, allocations: 8.031 kB / 1.024 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.1843, allocations: 3.278 MB / 1.028 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005482/0.1898, allocations: 2.158 MB / 1.03 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005419/0.1904, allocations: 474.2 kB / 1.03 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005669/0.1909, allocations: 228.4 kB / 1.03 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.2032, allocations: 5.364 MB / 1.036 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-05/0.2032, allocations: 4 kB / 1.036 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.2036, allocations: 104 kB / 1.036 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.2039, allocations: 176.8 kB / 1.036 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.2189, allocations: 5.198 MB / 1.041 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.2416, allocations: 8.756 MB / 1.049 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.2524, allocations: 3.259 MB / 1.053 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003998/0.2564, allocations: 1.374 MB / 1.054 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.2565, allocations: 17.31 kB / 1.054 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005489/0.262, allocations: 2.45 MB / 1.056 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=163): time 6.933e-06/0.262, allocations: 0 / 1.056 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=250): time 0.1399/0.4019, allocations: 27.5 MB / 1.083 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003639/0.4023, allocations: 0.4967 MB / 1.084 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/0.4067, allocations: 1.994 MB / 1.086 GB, free: 280 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004846/0.4071, allocations: 81.7 kB / 1.086 GB, free: 192 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.4089, allocations: 1.462 MB / 1.087 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/0.4101, allocations: 0.8559 MB / 1.088 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.4113, allocations: 412.5 kB / 1.088 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4115, allocations: 305.1 kB / 1.089 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006155/0.4176, allocations: 2.066 MB / 1.091 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007034/0.4247, allocations: 2.77 MB / 1.093 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/0.4378, allocations: 4.169 MB / 1.098 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.4378, allocations: 0 / 1.098 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.8259/1.264, allocations: 6.584 MB / 1.104 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.264, allocations: 149.2 kB / 1.104 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/1.264, allocations: 5.5 kB / 1.104 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/1.276, allocations: 2.919 MB / 1.107 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/1.28, allocations: 490 kB / 1.107 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04552/1.325, allocations: 18.2 MB / 1.125 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004726/1.33, allocations: 323.7 kB / 1.125 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004521/1.331, allocations: 91.58 kB / 1.126 GB, free: 138.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001944/1.333, allocations: 0.7033 MB / 1.126 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007508/1.333, allocations: 316.9 kB / 1.127 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008398/1.334, allocations: 365.2 kB / 1.127 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/1.334, allocations: 24.89 kB / 1.127 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.656e-05/1.334, allocations: 11.44 kB / 1.127 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/1.334, allocations: 16.69 kB / 1.127 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/1.34, allocations: 2.738 MB / 1.13 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.34, allocations: 0 / 1.13 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002727/1.342, allocations: 412.2 kB / 1.13 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/1.354, allocations: 2.863 MB / 1.133 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006154/1.354, allocations: 56.56 kB / 1.133 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04445/1.399, allocations: 17.97 MB / 1.15 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.399, allocations: 0 / 1.15 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/1.418, allocations: 6.073 MB / 1.156 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/1.42, allocations: 0.6098 MB / 1.157 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/1.422, allocations: 47.11 kB / 1.157 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/1.425, allocations: 314 kB / 1.157 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/1.427, allocations: 368 kB / 1.158 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/1.427, allocations: 67.03 kB / 1.158 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002265/1.429, allocations: 1.315 MB / 1.159 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.429, allocations: 0 / 1.159 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004285/1.434, allocations: 1.039 MB / 1.16 GB, free: 123.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005276/1.434, allocations: 170 kB / 1.16 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02386/1.458, allocations: 6.447 MB / 1.166 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.458, allocations: 4 kB / 1.166 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01842/1.477, allocations: 3.922 MB / 1.17 GB, free: 115 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/1.483, allocations: 1.033 MB / 1.171 GB, free: 114 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.5, allocations: 6.771 MB / 1.178 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/1.502, allocations: 1.683 MB / 1.18 GB, free: 105.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00272/1.505, allocations: 481.7 kB / 1.18 GB, free: 105 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000961/1.506, allocations: 172.4 kB / 1.18 GB, free: 104.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.542e-06/1.506, allocations: 0 / 1.18 GB, free: 104.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.1059/1.612, allocations: 72.65 MB / 1.251 GB, free: 33.49 MB / 0.9981 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 12.986369751393795]