Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0006243/0.0006243, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002002, allocations: 440 kB / 10.41 MB, free: 284 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.0006704/0.0006704, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009399/0.00161, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9519/0.9519, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08694/1.039, 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 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.447/2.447, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.33/2.777, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.352e-05, allocations: 6.312 kB / 0.819 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01201/0.01203, allocations: 15.45 MB / 0.834 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.02881, allocations: 13.05 MB / 0.8468 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.03132, allocations: 174.6 kB / 0.8469 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.03293, allocations: 0.7558 MB / 0.8477 GB, free: 4.922 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.04003, allocations: 3.514 MB / 0.8511 GB, free: 1.398 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.04277, allocations: 1.306 MB / 0.8524 GB, free: 92 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006571/0.04934, allocations: 6.335 MB / 0.8586 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.05236, allocations: 2.771 MB / 0.8613 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.05681, allocations: 4.18 MB / 0.8654 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.05982, allocations: 2.197 MB / 0.8675 GB, free: 436 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0005839/0.0604, allocations: 367.9 kB / 0.8679 GB, free: 68 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.06143, allocations: 439.9 kB / 0.8683 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007748/0.0622, allocations: 1.032 MB / 0.8693 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.06343, allocations: 1.123 MB / 0.8704 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.06586, allocations: 2.869 MB / 0.8732 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.06587, allocations: 0 / 0.8732 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.186e-06/0.06587, allocations: 8 kB / 0.8732 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.274e-05/0.06594, allocations: 0 / 0.8732 GB, free: 10.59 MB / 0.8542 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.005349/0.07129, allocations: 5.091 MB / 0.8782 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.07133, allocations: 16.02 kB / 0.8782 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/0.0766, allocations: 2.101 MB / 0.8802 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.07916, allocations: 1.881 MB / 0.8821 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.07943, allocations: 470.3 kB / 0.8825 GB, free: 0.7773 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.07973, allocations: 248.4 kB / 0.8828 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.08304, allocations: 3.25 MB / 0.8859 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.08307, allocations: 0 / 0.8859 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.08328, allocations: 99.98 kB / 0.886 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.08342, allocations: 164.8 kB / 0.8862 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.08477, allocations: 0.9782 MB / 0.8871 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.09505, allocations: 5.787 MB / 0.8928 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/0.09876, allocations: 1.613 MB / 0.8944 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.09949, allocations: 383.7 kB / 0.8947 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.09961, allocations: 29.31 kB / 0.8948 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.1019, allocations: 1.517 MB / 0.8962 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 4.058e-06/0.1019, allocations: 7.938 kB / 0.8962 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of matching and sorting (n=163): time 0.007987/0.1099, allocations: 3.463 MB / 0.8996 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.11, allocations: 84.64 kB / 0.8997 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.1118, allocations: 1.691 MB / 0.9014 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.112, allocations: 65.7 kB / 0.9014 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.1128, allocations: 1.035 MB / 0.9024 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.1133, allocations: 0.5576 MB / 0.903 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.1137, allocations: 303.3 kB / 0.9033 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1138, allocations: 301.1 kB / 0.9036 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000932/0.1147, allocations: 416.4 kB / 0.904 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.1155, allocations: 1.067 MB / 0.905 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1166, allocations: 1.062 MB / 0.906 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.1166, allocations: 0 / 0.906 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003184/0.1197, allocations: 1.925 MB / 0.9079 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1199, allocations: 152.5 kB / 0.9081 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.1199, allocations: 8 kB / 0.9081 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003068/0.1229, allocations: 1.245 MB / 0.9093 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.124, allocations: 355.5 kB / 0.9096 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/0.1322, allocations: 4.839 MB / 0.9143 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.1344, allocations: 254.8 kB / 0.9146 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.1346, allocations: 55.98 kB / 0.9146 GB, free: 14.64 MB / 0.9011 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 (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0009786/0.1355, allocations: 222.3 kB / 0.9149 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/0.136, allocations: 231.7 kB / 0.9151 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.1364, allocations: 298.3 kB / 0.9154 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1364, allocations: 16 kB / 0.9154 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1364, allocations: 4 kB / 0.9154 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.1364, allocations: 11.97 kB / 0.9154 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.1385, allocations: 1.206 MB / 0.9166 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.1385, allocations: 0 / 0.9166 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/0.1393, allocations: 263.6 kB / 0.9168 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/0.14, allocations: 369.7 kB / 0.9172 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003268/0.1433, allocations: 1.191 MB / 0.9183 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.1434, allocations: 35.91 kB / 0.9184 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007614/0.151, allocations: 4.612 MB / 0.9229 GB, free: 6.066 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.151, allocations: 4 kB / 0.9229 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.1543, allocations: 1.538 MB / 0.9244 GB, free: 4.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005758/0.1549, allocations: 39.92 kB / 0.9244 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.1559, allocations: 143.8 kB / 0.9246 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/0.157, allocations: 225.6 kB / 0.9248 GB, free: 4.102 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/0.1571, allocations: 35.97 kB / 0.9248 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001114/0.1582, allocations: 0.9039 MB / 0.9257 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1582, allocations: 4 kB / 0.9257 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002702/0.1609, allocations: 0.963 MB / 0.9266 GB, free: 2.184 MB / 0.9011 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 (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.1612, allocations: 133.1 kB / 0.9268 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004469/0.1657, allocations: 2.264 MB / 0.929 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.762e-05/0.1658, allocations: 36.48 kB / 0.929 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003254/0.169, allocations: 1.501 MB / 0.9305 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0078/0.1768, allocations: 9.727 MB / 0.94 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/0.2008, allocations: 5.017 MB / 0.9449 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.2018, allocations: 0.6579 MB / 0.9455 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00178/0.2035, allocations: 348.8 kB / 0.9458 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/0.2055, allocations: 0.8308 MB / 0.9466 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of SimCode: time 2.444e-06/0.2055, allocations: 0 / 0.9466 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of Templates: time 0.07643/0.282, allocations: 61.41 MB / 1.007 GB, free: 15.44 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 6.7474655052646995]