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.001425/0.001425, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001621/0.001621, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.219 MB / 186.7 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.733/2.733, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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.362e-06/1.362e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.731e-05, allocations: 4.844 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03046/0.03049, allocations: 20.94 MB / 0.8068 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03043/0.06092, allocations: 16.65 MB / 0.8231 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.06388, allocations: 170.7 kB / 0.8233 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.07636, allocations: 4.177 MB / 0.8273 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.08801, allocations: 3.687 MB / 0.8309 GB, free: 14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.09193, allocations: 1.306 MB / 0.8322 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.102, allocations: 5.984 MB / 0.8381 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005693/0.1077, allocations: 2.841 MB / 0.8408 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00831/0.116, allocations: 3.695 MB / 0.8444 GB, free: 60 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00466/0.1206, allocations: 1.916 MB / 0.8463 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.1218, allocations: 368 kB / 0.8467 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.1247, allocations: 0.9667 MB / 0.8476 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.1267, allocations: 1.265 MB / 0.8488 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.003392/0.1301, allocations: 1.368 MB / 0.8502 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008406/0.1385, allocations: 5.199 MB / 0.8553 GB, free: 4.953 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1385, allocations: 3.938 kB / 0.8553 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1385, allocations: 0 / 0.8553 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001301/0.1386, allocations: 4 kB / 0.8553 GB, free: 4.945 MB / 0.7605 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.01106/0.1497, allocations: 4.588 MB / 0.8597 GB, free: 264 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1497, allocations: 8.031 kB / 0.8598 GB, free: 256 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.167, allocations: 3.626 MB / 0.8633 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005973/0.173, allocations: 2.279 MB / 0.8655 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005059/0.1735, allocations: 466.3 kB / 0.866 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005921/0.1741, allocations: 248.3 kB / 0.8662 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.1864, allocations: 5.375 MB / 0.8715 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-05/0.1865, allocations: 7.984 kB / 0.8715 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003739/0.1868, allocations: 99.98 kB / 0.8716 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/0.1871, allocations: 176.8 kB / 0.8717 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.2016, allocations: 5.191 MB / 0.8768 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02265/0.2243, allocations: 8.81 MB / 0.8854 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.2349, allocations: 3.247 MB / 0.8886 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/0.239, allocations: 1.374 MB / 0.8899 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.2391, allocations: 29.31 kB / 0.8899 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00537/0.2445, allocations: 2.454 MB / 0.8923 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=163): time 3.847e-06/0.2445, allocations: 0 / 0.8923 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=250): time 0.1334/0.3779, allocations: 27.57 MB / 0.9193 GB, free: 2.488 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004591/0.3783, allocations: 0.4889 MB / 0.9197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/0.382, allocations: 1.99 MB / 0.9217 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.3823, allocations: 77.7 kB / 0.9218 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.3839, allocations: 1.466 MB / 0.9232 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.385, allocations: 0.8559 MB / 0.924 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.3861, allocations: 416.5 kB / 0.9244 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3862, allocations: 313 kB / 0.9247 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005895/0.3921, allocations: 2.07 MB / 0.9267 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006393/0.3985, allocations: 2.762 MB / 0.9294 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.4106, allocations: 4.169 MB / 0.9335 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.4106, allocations: 4 kB / 0.9335 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02126/0.4319, allocations: 6.678 MB / 0.94 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.4321, allocations: 152.4 kB / 0.9402 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.4321, allocations: 4 kB / 0.9402 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0154/0.4475, allocations: 3.33 MB / 0.9434 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/0.4506, allocations: 495.1 kB / 0.9439 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04769/0.4983, allocations: 18.33 MB / 0.9618 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/0.5026, allocations: 327.6 kB / 0.9621 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006287/0.5032, allocations: 87.97 kB / 0.9622 GB, free: 5.633 MB / 0.8698 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.002304/0.5055, allocations: 0.7024 MB / 0.9629 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/0.507, allocations: 394 kB / 0.9633 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.508, allocations: 361.2 kB / 0.9636 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/0.5081, allocations: 27.94 kB / 0.9636 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-05/0.5081, allocations: 12 kB / 0.9637 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.363e-05/0.5082, allocations: 15.95 kB / 0.9637 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005963/0.5141, allocations: 2.733 MB / 0.9663 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/0.5142, allocations: 0 / 0.9663 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/0.5169, allocations: 419.3 kB / 0.9667 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01489/0.5317, allocations: 3.275 MB / 0.9699 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000576/0.5323, allocations: 55.94 kB / 0.97 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04711/0.5794, allocations: 18.11 MB / 0.9877 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5794, allocations: 0 / 0.9877 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02179/0.6012, allocations: 6.161 MB / 0.9937 GB, free: 5.086 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/0.6034, allocations: 0.611 MB / 0.9943 GB, free: 4.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/0.6044, allocations: 44 kB / 0.9943 GB, free: 4.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003803/0.6083, allocations: 315.6 kB / 0.9946 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00155/0.6098, allocations: 362.5 kB / 0.995 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003677/0.6102, allocations: 67.97 kB / 0.995 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003183/0.6134, allocations: 1.316 MB / 0.9963 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6134, allocations: 0 / 0.9963 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004564/0.6179, allocations: 1.035 MB / 0.9973 GB, free: 1.34 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 (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.000622/0.6185, allocations: 171 kB / 0.9975 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02553/0.6441, allocations: 6.463 MB / 1.004 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.6441, allocations: 4 kB / 1.004 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01837/0.6624, allocations: 3.926 MB / 1.008 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005519/0.668, allocations: 1.095 MB / 1.009 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.6859, allocations: 6.864 MB / 1.015 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/0.6889, allocations: 1.683 MB / 1.017 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002528/0.6914, allocations: 483.4 kB / 1.018 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008687/0.6923, allocations: 180.5 kB / 1.018 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of SimCode: time 1.482e-06/0.6923, allocations: 0 / 1.018 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of Templates: time 0.4099/1.102, allocations: 72.83 MB / 1.089 GB, free: 202.2 MB / 0.9323 GB " [Timeout remaining time 299] 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: 11.22500937897712]