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.0009635/0.0009635, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001452/0.001452, allocations: 181 kB / 23.36 MB, free: 1.133 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.951/0.951, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.34/2.34, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 2.525e-06/2.525e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/3.948e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01609/0.01613, allocations: 14.99 MB / 0.8532 GB, free: 15.11 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.03217, allocations: 12.84 MB / 0.8658 GB, free: 2.227 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.03462, allocations: 170.7 kB / 0.8659 GB, free: 2.059 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.0363, allocations: 0.7286 MB / 0.8667 GB, free: 1.324 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006436/0.04273, allocations: 3.256 MB / 0.8698 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.04506, allocations: 1.307 MB / 0.8711 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005998/0.05106, allocations: 5.974 MB / 0.8769 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003605/0.05466, allocations: 2.946 MB / 0.8798 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00475/0.05941, allocations: 3.676 MB / 0.8834 GB, free: 24 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.06153, allocations: 1.979 MB / 0.8853 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003921/0.06192, allocations: 364 kB / 0.8857 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.06252, allocations: 443.7 kB / 0.8861 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000999/0.06352, allocations: 1.289 MB / 0.8874 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.06462, allocations: 1.383 MB / 0.8887 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.06699, allocations: 3.06 MB / 0.8917 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.067, allocations: 3.984 kB / 0.8917 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.343e-06/0.067, allocations: 0 / 0.8917 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.205e-05/0.06703, allocations: 0 / 0.8917 GB, free: 7.496 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.00444/0.07147, allocations: 4.36 MB / 0.896 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.07151, allocations: 8.625 kB / 0.896 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.07637, allocations: 2.014 MB / 0.8979 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.07836, allocations: 1.875 MB / 0.8998 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.07858, allocations: 470.3 kB / 0.9002 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.07887, allocations: 244.3 kB / 0.9005 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.08216, allocations: 3.256 MB / 0.9036 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.0822, allocations: 0 / 0.9036 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.0824, allocations: 99.98 kB / 0.9037 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.08252, allocations: 168.8 kB / 0.9039 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.08383, allocations: 0.9821 MB / 0.9049 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007148/0.09097, allocations: 5.744 MB / 0.9105 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.09344, allocations: 1.628 MB / 0.9121 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.09388, allocations: 383.7 kB / 0.9124 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.566e-05/0.09398, allocations: 29.31 kB / 0.9125 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.09499, allocations: 1.529 MB / 0.9139 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=163): time 3.106e-06/0.095, allocations: 4 kB / 0.9139 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=163): time 0.006322/0.1013, allocations: 3.334 MB / 0.9172 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.1015, allocations: 495.8 kB / 0.9177 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.1025, allocations: 1.688 MB / 0.9193 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.1027, allocations: 61.7 kB / 0.9194 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.1032, allocations: 1.039 MB / 0.9204 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.1035, allocations: 0.5654 MB / 0.9209 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.1039, allocations: 299.3 kB / 0.9212 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.1039, allocations: 301.1 kB / 0.9215 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.1046, allocations: 404.4 kB / 0.9219 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/0.1052, allocations: 1.064 MB / 0.9229 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/0.1062, allocations: 1.035 MB / 0.924 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1062, allocations: 4 kB / 0.924 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002526/0.1087, allocations: 1.905 MB / 0.9258 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.486e-05/0.1088, allocations: 152.5 kB / 0.926 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.1088, allocations: 4 kB / 0.926 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/0.1115, allocations: 1.228 MB / 0.9272 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/0.1122, allocations: 311.5 kB / 0.9275 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/0.1193, allocations: 4.72 MB / 0.9321 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.1204, allocations: 250.8 kB / 0.9323 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/0.1205, allocations: 55.97 kB / 0.9324 GB, free: 12.29 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.0005289/0.121, allocations: 230.3 kB / 0.9326 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.1213, allocations: 227.7 kB / 0.9328 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1215, allocations: 298.4 kB / 0.9331 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.1215, allocations: 16 kB / 0.9331 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1215, allocations: 0 / 0.9331 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1215, allocations: 7.969 kB / 0.9331 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.1229, allocations: 1.209 MB / 0.9343 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1229, allocations: 7.875 kB / 0.9343 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.1235, allocations: 223.7 kB / 0.9345 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002754/0.1262, allocations: 1.187 MB / 0.9357 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/0.1263, allocations: 31.97 kB / 0.9357 GB, free: 8.832 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006393/0.1327, allocations: 4.569 MB / 0.9402 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1327, allocations: 0 / 0.9402 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.1352, allocations: 1.534 MB / 0.9417 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.1358, allocations: 365.7 kB / 0.942 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.136, allocations: 36 kB / 0.9421 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/0.1368, allocations: 147.8 kB / 0.9422 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.1373, allocations: 217.6 kB / 0.9424 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.1374, allocations: 43.95 kB / 0.9424 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006712/0.138, allocations: 0.8922 MB / 0.9433 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.138, allocations: 4 kB / 0.9433 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001596/0.1396, allocations: 0.967 MB / 0.9443 GB, free: 15.93 MB / 0.9167 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.0002244/0.1399, allocations: 136.1 kB / 0.9444 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.1433, allocations: 2.246 MB / 0.9466 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.466e-05/0.1434, allocations: 28.5 kB / 0.9466 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/0.146, allocations: 1.423 MB / 0.948 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.1479, allocations: 1.046 MB / 0.949 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.1537, allocations: 4.865 MB / 0.9538 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.1542, allocations: 0.6577 MB / 0.9544 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008804/0.1551, allocations: 336.5 kB / 0.9547 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/0.1565, allocations: 0.8229 MB / 0.9555 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of SimCode: time 1.453e-06/0.1566, allocations: 4 kB / 0.9555 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of Templates: time 0.06462/0.2212, allocations: 58.23 MB / 1.012 GB, free: 11.29 MB / 0.9792 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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.645989642944187]