Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001248/0.001248, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001323/0.001323, allocations: 165 kB / 23.82 MB, free: 0.75 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.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] 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 1.771/1.771, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.691e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01196/0.01198, allocations: 15.38 MB / 0.8266 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.02992, allocations: 12.76 MB / 0.839 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.03201, allocations: 178.6 kB / 0.8392 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.03367, allocations: 0.7286 MB / 0.8399 GB, free: 4.641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006377/0.04004, allocations: 3.226 MB / 0.8431 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.04242, allocations: 1.31 MB / 0.8443 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006081/0.0485, allocations: 5.989 MB / 0.8502 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.05173, allocations: 2.853 MB / 0.853 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/0.05621, allocations: 3.684 MB / 0.8566 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.05881, allocations: 2.026 MB / 0.8586 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0005362/0.05934, allocations: 368 kB / 0.8589 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008234/0.06016, allocations: 447.7 kB / 0.8593 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0009358/0.0611, allocations: 1.289 MB / 0.8606 GB, free: 15.34 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.06253, allocations: 1.376 MB / 0.8619 GB, free: 13.96 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.06564, allocations: 3.06 MB / 0.8649 GB, free: 10.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.06565, allocations: 4 kB / 0.8649 GB, free: 10.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.06565, allocations: 0 / 0.8649 GB, free: 10.89 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.479e-05/0.06572, allocations: 4 kB / 0.8649 GB, free: 10.88 MB / 0.823 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.006032/0.07175, allocations: 4.611 MB / 0.8694 GB, free: 6.168 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.07179, allocations: 12.03 kB / 0.8694 GB, free: 6.156 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007742/0.07954, allocations: 3.069 MB / 0.8724 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.08193, allocations: 2.211 MB / 0.8746 GB, free: 0.793 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.08218, allocations: 474.3 kB / 0.8751 GB, free: 272 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.08248, allocations: 240.4 kB / 0.8753 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/0.08682, allocations: 3.507 MB / 0.8787 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.08686, allocations: 0 / 0.8787 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.08707, allocations: 108 kB / 0.8788 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.08721, allocations: 176.8 kB / 0.879 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.08972, allocations: 1.547 MB / 0.8805 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009184/0.09891, allocations: 7.945 MB / 0.8883 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.1018, allocations: 1.924 MB / 0.8901 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.1026, allocations: 0.5336 MB / 0.8907 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.103e-05/0.1026, allocations: 33.31 kB / 0.8907 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.104, allocations: 1.673 MB / 0.8923 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 2.986e-06/0.104, allocations: 0 / 0.8923 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.01438/0.1184, allocations: 7.527 MB / 0.8997 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.1185, allocations: 496.7 kB / 0.9001 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.1201, allocations: 1.878 MB / 0.902 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.1203, allocations: 85.69 kB / 0.9021 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008204/0.1211, allocations: 1.523 MB / 0.9035 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/0.1217, allocations: 0.8559 MB / 0.9044 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006451/0.1223, allocations: 406.7 kB / 0.9048 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1224, allocations: 480.7 kB / 0.9052 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.1235, allocations: 0.7781 MB / 0.906 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.1248, allocations: 1.563 MB / 0.9075 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.1269, allocations: 1.828 MB / 0.9093 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.1269, allocations: 4 kB / 0.9093 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006066/0.133, allocations: 3.769 MB / 0.913 GB, free: 8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.1331, allocations: 156.5 kB / 0.9131 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.1331, allocations: 4 kB / 0.9131 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/0.1393, allocations: 2.723 MB / 0.9158 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.1404, allocations: 387.4 kB / 0.9162 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.1568, allocations: 11.36 MB / 0.9273 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.1582, allocations: 211.8 kB / 0.9275 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.1584, allocations: 87.97 kB / 0.9275 GB, free: 8.84 MB / 0.8855 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.0006538/0.1591, allocations: 286.3 kB / 0.9278 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/0.1595, allocations: 398.1 kB / 0.9282 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.1598, allocations: 357.2 kB / 0.9285 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.1598, allocations: 27.94 kB / 0.9286 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.695e-05/0.1598, allocations: 16 kB / 0.9286 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.1599, allocations: 11.95 kB / 0.9286 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.162, allocations: 2.094 MB / 0.9306 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.162, allocations: 0 / 0.9306 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008177/0.1628, allocations: 307.5 kB / 0.9309 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006173/0.169, allocations: 2.668 MB / 0.9335 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.1691, allocations: 51.97 kB / 0.9336 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/0.1851, allocations: 11.11 MB / 0.9444 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1851, allocations: 0 / 0.9444 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/0.1908, allocations: 3.358 MB / 0.9477 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008015/0.1916, allocations: 0.5836 MB / 0.9483 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.1919, allocations: 44 kB / 0.9483 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.1929, allocations: 199.8 kB / 0.9485 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000602/0.1935, allocations: 366.5 kB / 0.9489 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.1936, allocations: 71.97 kB / 0.9489 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009975/0.1946, allocations: 1.125 MB / 0.95 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1946, allocations: 0 / 0.95 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001695/0.1963, allocations: 1.031 MB / 0.951 GB, free: 404 kB / 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.0002595/0.1966, allocations: 175 kB / 0.9512 GB, free: 216 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008117/0.2047, allocations: 4.191 MB / 0.9553 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2047, allocations: 0 / 0.9553 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006419/0.2111, allocations: 2.944 MB / 0.9582 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.2133, allocations: 1.093 MB / 0.9592 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.2201, allocations: 5.658 MB / 0.9648 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.2207, allocations: 0.7836 MB / 0.9655 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009507/0.2217, allocations: 403.4 kB / 0.9659 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.2222, allocations: 176.5 kB / 0.9661 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of SimCode: time 1.112e-06/0.2222, allocations: 0 / 0.9661 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of Templates: time 0.07602/0.2982, allocations: 77.33 MB / 1.042 GB, free: 4.652 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 7.045691424049437]