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.001372/0.001372, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001569/0.001569, allocations: 162.7 kB / 24.87 MB, free: 8.84 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.9529/0.9529, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.765/1.765, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.023e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01247/0.0125, allocations: 15 MB / 0.803 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.02797, allocations: 12.55 MB / 0.8152 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.03138, allocations: 170.7 kB / 0.8154 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.03351, allocations: 0.7208 MB / 0.8161 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.04086, allocations: 3.231 MB / 0.8193 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.04351, allocations: 1.31 MB / 0.8205 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007023/0.05053, allocations: 5.988 MB / 0.8264 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.0544, allocations: 2.853 MB / 0.8292 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/0.06087, allocations: 3.68 MB / 0.8328 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.06433, allocations: 2.033 MB / 0.8347 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000985/0.06532, allocations: 368 kB / 0.8351 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.06657, allocations: 439.8 kB / 0.8355 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.06771, allocations: 1.285 MB / 0.8368 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.06985, allocations: 1.383 MB / 0.8381 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.07364, allocations: 3.067 MB / 0.8411 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.07364, allocations: 0 / 0.8411 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.773e-06/0.07365, allocations: 4 kB / 0.8411 GB, free: 5.969 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001199/0.07377, allocations: 0 / 0.8411 GB, free: 5.969 MB / 0.7917 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.005635/0.0794, allocations: 4.564 MB / 0.8456 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.07944, allocations: 12.03 kB / 0.8456 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.08545, allocations: 2.332 MB / 0.8479 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.08862, allocations: 2.102 MB / 0.8499 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/0.08902, allocations: 466.3 kB / 0.8504 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.08942, allocations: 248.3 kB / 0.8506 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/0.09332, allocations: 3.214 MB / 0.8537 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.09336, allocations: 3.938 kB / 0.8537 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.09359, allocations: 104 kB / 0.8538 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.09374, allocations: 168.8 kB / 0.854 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.09547, allocations: 1.2 MB / 0.8552 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009738/0.1052, allocations: 7.431 MB / 0.8624 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.1078, allocations: 1.76 MB / 0.8642 GB, free: 13.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.1084, allocations: 462.3 kB / 0.8646 GB, free: 13.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/0.1085, allocations: 29.31 kB / 0.8646 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.1096, allocations: 1.582 MB / 0.8662 GB, free: 11.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=163): time 3.767e-06/0.1096, allocations: 0 / 0.8662 GB, free: 11.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=250): time 0.01371/0.1233, allocations: 6.587 MB / 0.8726 GB, free: 4.785 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.1234, allocations: 0.4928 MB / 0.8731 GB, free: 4.18 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.1248, allocations: 1.822 MB / 0.8749 GB, free: 2.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.125, allocations: 81.69 kB / 0.8749 GB, free: 2.254 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008539/0.1259, allocations: 1.507 MB / 0.8764 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000535/0.1264, allocations: 0.8715 MB / 0.8773 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/0.1269, allocations: 418.5 kB / 0.8777 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1271, allocations: 480.5 kB / 0.8781 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.1279, allocations: 0.6258 MB / 0.8787 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009974/0.1289, allocations: 1.412 MB / 0.8801 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.1304, allocations: 1.554 MB / 0.8816 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1304, allocations: 4 kB / 0.8816 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005475/0.1359, allocations: 3.394 MB / 0.8849 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.136, allocations: 154.6 kB / 0.8851 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.136, allocations: 8 kB / 0.8851 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006193/0.1422, allocations: 2.676 MB / 0.8877 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.1434, allocations: 391.4 kB / 0.8881 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/0.1591, allocations: 10.74 MB / 0.8986 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.161, allocations: 207.8 kB / 0.8988 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.1613, allocations: 75.91 kB / 0.8988 GB, free: 8.949 MB / 0.8542 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.0008063/0.1621, allocations: 302.2 kB / 0.8991 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/0.1626, allocations: 394 kB / 0.8995 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.163, allocations: 361.2 kB / 0.8999 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.163, allocations: 24 kB / 0.8999 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-05/0.1631, allocations: 12 kB / 0.8999 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.1631, allocations: 15.89 kB / 0.8999 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.1652, allocations: 1.705 MB / 0.9016 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.1652, allocations: 0 / 0.9016 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.1661, allocations: 299.6 kB / 0.9019 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006023/0.1721, allocations: 2.617 MB / 0.9044 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.1723, allocations: 51.97 kB / 0.9045 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.1876, allocations: 10.52 MB / 0.9147 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1876, allocations: 7.922 kB / 0.9147 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005608/0.1932, allocations: 3.037 MB / 0.9177 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.1945, allocations: 0.5329 MB / 0.9182 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.1948, allocations: 51.98 kB / 0.9183 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.1961, allocations: 199.8 kB / 0.9185 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/0.1969, allocations: 370.4 kB / 0.9188 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.197, allocations: 59.91 kB / 0.9189 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008724/0.1979, allocations: 1.035 MB / 0.9199 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/0.1979, allocations: 0 / 0.9199 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002193/0.2001, allocations: 1.027 MB / 0.9209 GB, free: 2.02 MB / 0.8698 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.0002949/0.2004, allocations: 167.1 kB / 0.9211 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007874/0.2082, allocations: 3.911 MB / 0.9249 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2082, allocations: 7.938 kB / 0.9249 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006787/0.215, allocations: 2.795 MB / 0.9276 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.2181, allocations: 1.098 MB / 0.9287 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.2263, allocations: 5.583 MB / 0.9341 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/0.2272, allocations: 0.7836 MB / 0.9349 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001579/0.2287, allocations: 359.5 kB / 0.9352 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/0.2306, allocations: 0.9584 MB / 0.9362 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of SimCode: time 2.875e-06/0.2306, allocations: 0 / 0.9362 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of Templates: time 0.08646/0.3171, allocations: 79.65 MB / 1.014 GB, free: 3.734 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] 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","",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.860867267008871]