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.0009539/0.0009539, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009598/0.0009598, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9044/0.9044, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.714/1.714, allocations: 359 MB / 0.6052 GB, free: 11.03 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.373e-06/1.373e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.429e-05, allocations: 3.75 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02209/0.02212, allocations: 15.38 MB / 0.8021 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.04111, allocations: 12.78 MB / 0.8146 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.04329, allocations: 174.6 kB / 0.8148 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.04465, allocations: 0.7131 MB / 0.8155 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.008673/0.05332, allocations: 3.241 MB / 0.8186 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.0567, allocations: 1.306 MB / 0.8199 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005541/0.06224, allocations: 5.986 MB / 0.8258 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.06539, allocations: 2.853 MB / 0.8286 GB, free: 1.891 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.06986, allocations: 3.684 MB / 0.8322 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.07242, allocations: 2.026 MB / 0.8341 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006951/0.07311, allocations: 364 kB / 0.8345 GB, free: 11.81 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.07388, allocations: 443.8 kB / 0.8349 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.07521, allocations: 1.293 MB / 0.8362 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.07688, allocations: 1.379 MB / 0.8375 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.07972, allocations: 3.06 MB / 0.8405 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.07972, allocations: 0 / 0.8405 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.114e-06/0.07972, allocations: 0 / 0.8405 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001193/0.07984, allocations: 4 kB / 0.8405 GB, free: 5.625 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.00545/0.08529, allocations: 4.611 MB / 0.845 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.08533, allocations: 12.03 kB / 0.845 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006406/0.09174, allocations: 3.073 MB / 0.848 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.09461, allocations: 2.211 MB / 0.8502 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.09486, allocations: 466.3 kB / 0.8506 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.09515, allocations: 244.3 kB / 0.8509 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/0.09917, allocations: 3.511 MB / 0.8543 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.09921, allocations: 3.938 kB / 0.8543 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.09943, allocations: 108 kB / 0.8544 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.09956, allocations: 172.8 kB / 0.8546 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.1021, allocations: 1.547 MB / 0.8561 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008843/0.111, allocations: 7.945 MB / 0.8638 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.1138, allocations: 1.912 MB / 0.8657 GB, free: 11.14 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.1145, allocations: 0.5491 MB / 0.8662 GB, free: 10.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/0.1146, allocations: 33.31 kB / 0.8663 GB, free: 10.55 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.1159, allocations: 1.66 MB / 0.8679 GB, free: 8.645 MB / 0.823 GB Notification: Performance of pre-optimization done (n=163): time 3.276e-06/0.1159, allocations: 0 / 0.8679 GB, free: 8.645 MB / 0.823 GB Notification: Performance of matching and sorting (n=250): time 0.01438/0.1302, allocations: 7.541 MB / 0.8752 GB, free: 1.086 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.1304, allocations: 0.4889 MB / 0.8757 GB, free: 496 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.1322, allocations: 1.878 MB / 0.8776 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.1324, allocations: 81.69 kB / 0.8776 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/0.1332, allocations: 1.511 MB / 0.8791 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.1337, allocations: 0.8637 MB / 0.88 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005364/0.1342, allocations: 406.7 kB / 0.8803 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.1343, allocations: 480.7 kB / 0.8808 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.1354, allocations: 0.7781 MB / 0.8816 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.1367, allocations: 1.56 MB / 0.8831 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.1391, allocations: 1.82 MB / 0.8849 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.1391, allocations: 4 kB / 0.8849 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005906/0.145, allocations: 3.768 MB / 0.8885 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.1451, allocations: 152.4 kB / 0.8887 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1451, allocations: 8 kB / 0.8887 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006406/0.1515, allocations: 2.723 MB / 0.8914 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.1525, allocations: 391.4 kB / 0.8917 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.1689, allocations: 11.36 MB / 0.9028 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.1704, allocations: 211.8 kB / 0.903 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.1705, allocations: 87.97 kB / 0.9031 GB, free: 3.582 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.00069/0.1712, allocations: 290.2 kB / 0.9034 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.1716, allocations: 402.1 kB / 0.9038 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.1719, allocations: 357.2 kB / 0.9041 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.1719, allocations: 27.94 kB / 0.9041 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-05/0.172, allocations: 12 kB / 0.9041 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.172, allocations: 15.94 kB / 0.9042 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.1742, allocations: 2.086 MB / 0.9062 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.1742, allocations: 0 / 0.9062 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007849/0.175, allocations: 303.5 kB / 0.9065 GB, free: 52 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005986/0.181, allocations: 2.676 MB / 0.9091 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.1811, allocations: 47.97 kB / 0.9091 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.1973, allocations: 11.12 MB / 0.92 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1973, allocations: 4 kB / 0.92 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/0.2032, allocations: 3.354 MB / 0.9233 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/0.204, allocations: 0.5875 MB / 0.9239 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.2043, allocations: 44 kB / 0.9239 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.2054, allocations: 199.8 kB / 0.9241 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006263/0.206, allocations: 366.4 kB / 0.9244 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.2061, allocations: 67.97 kB / 0.9245 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001038/0.2072, allocations: 1.137 MB / 0.9256 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2072, allocations: 0 / 0.9256 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001916/0.2091, allocations: 1.031 MB / 0.9266 GB, free: 11.12 MB / 0.8855 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.0002777/0.2094, allocations: 163.1 kB / 0.9268 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007956/0.2173, allocations: 4.196 MB / 0.9309 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2173, allocations: 3.938 kB / 0.9309 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006565/0.2239, allocations: 2.944 MB / 0.9337 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.2261, allocations: 1.101 MB / 0.9348 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007316/0.2334, allocations: 5.649 MB / 0.9403 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.2341, allocations: 0.7836 MB / 0.9411 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00106/0.2352, allocations: 411.4 kB / 0.9415 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.2357, allocations: 172.5 kB / 0.9417 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of SimCode: time 1.042e-06/0.2357, allocations: 4 kB / 0.9417 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of Templates: time 0.08072/0.3164, allocations: 77.32 MB / 1.017 GB, free: 15.37 MB / 0.9792 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.672443621326238]