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.0009483/0.0009483, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001111/0.001111, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9157/0.9157, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.939/1.939, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 177] 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.913e-06/1.913e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.723e-05, allocations: 3.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01198/0.01202, allocations: 14.99 MB / 0.8267 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.02649, allocations: 12.55 MB / 0.8389 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.02959, allocations: 170.6 kB / 0.8391 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.03207, allocations: 0.7287 MB / 0.8398 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007983/0.04006, allocations: 3.228 MB / 0.8429 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.0431, allocations: 1.31 MB / 0.8442 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008039/0.05114, allocations: 5.993 MB / 0.8501 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004571/0.05571, allocations: 2.853 MB / 0.8529 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006421/0.06213, allocations: 3.68 MB / 0.8565 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.06509, allocations: 2.033 MB / 0.8584 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0008088/0.0659, allocations: 364 kB / 0.8588 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.06717, allocations: 447.7 kB / 0.8592 GB, free: 0.9297 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.06856, allocations: 1.289 MB / 0.8605 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.07062, allocations: 1.379 MB / 0.8618 GB, free: 14.25 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.07437, allocations: 3.064 MB / 0.8648 GB, free: 11.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.07437, allocations: 0 / 0.8648 GB, free: 11.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.283e-06/0.07437, allocations: 0 / 0.8648 GB, free: 11.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.016e-05/0.07446, allocations: 0 / 0.8648 GB, free: 11.18 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.005678/0.08014, allocations: 4.571 MB / 0.8693 GB, free: 6.504 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.08018, allocations: 8.031 kB / 0.8693 GB, free: 6.496 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005697/0.08588, allocations: 2.332 MB / 0.8716 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.08855, allocations: 2.102 MB / 0.8736 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00053/0.08908, allocations: 474.3 kB / 0.8741 GB, free: 1.453 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/0.0894, allocations: 244.4 kB / 0.8743 GB, free: 1.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/0.09293, allocations: 3.203 MB / 0.8774 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.09297, allocations: 3.938 kB / 0.8774 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.09317, allocations: 108 kB / 0.8775 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.0933, allocations: 172.8 kB / 0.8777 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.09487, allocations: 1.197 MB / 0.8789 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009278/0.1041, allocations: 7.442 MB / 0.8861 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.1068, allocations: 1.752 MB / 0.8878 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.1076, allocations: 454.3 kB / 0.8883 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.406e-05/0.1077, allocations: 33.31 kB / 0.8883 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.1088, allocations: 1.581 MB / 0.8899 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=163): time 3.867e-06/0.1088, allocations: 0 / 0.8899 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=250): time 0.0133/0.1221, allocations: 6.593 MB / 0.8963 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.1223, allocations: 0.4889 MB / 0.8968 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.1239, allocations: 1.83 MB / 0.8986 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.124, allocations: 77.7 kB / 0.8986 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009217/0.125, allocations: 1.515 MB / 0.9001 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005458/0.1255, allocations: 0.8674 MB / 0.901 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.126, allocations: 414.5 kB / 0.9014 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003775/0.1264, allocations: 488.7 kB / 0.9018 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/0.1272, allocations: 0.6219 MB / 0.9024 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.1282, allocations: 1.408 MB / 0.9038 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.1297, allocations: 1.554 MB / 0.9053 GB, free: 148 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1297, allocations: 4 kB / 0.9053 GB, free: 144 kB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005556/0.1353, allocations: 3.409 MB / 0.9087 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.1354, allocations: 148.5 kB / 0.9088 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1354, allocations: 7.938 kB / 0.9088 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00585/0.1412, allocations: 2.672 MB / 0.9114 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.1423, allocations: 387.5 kB / 0.9118 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.1574, allocations: 10.76 MB / 0.9223 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.1593, allocations: 215.7 kB / 0.9225 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.1595, allocations: 71.97 kB / 0.9226 GB, free: 14.14 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.0009853/0.1604, allocations: 294.2 kB / 0.9228 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/0.161, allocations: 398.1 kB / 0.9232 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.1613, allocations: 357.2 kB / 0.9236 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.1613, allocations: 24 kB / 0.9236 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.219e-05/0.1614, allocations: 12 kB / 0.9236 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.1614, allocations: 11.95 kB / 0.9236 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.1636, allocations: 1.713 MB / 0.9253 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.1636, allocations: 7.938 kB / 0.9253 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/0.1644, allocations: 303.5 kB / 0.9256 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005742/0.1701, allocations: 2.617 MB / 0.9281 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.1703, allocations: 47.97 kB / 0.9282 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.1852, allocations: 10.54 MB / 0.9385 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1852, allocations: 0 / 0.9385 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/0.1905, allocations: 3.033 MB / 0.9414 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.1916, allocations: 0.5368 MB / 0.942 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/0.1919, allocations: 48 kB / 0.942 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.1931, allocations: 207.7 kB / 0.9422 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007506/0.1938, allocations: 362.5 kB / 0.9425 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.194, allocations: 51.97 kB / 0.9426 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008919/0.1948, allocations: 1.027 MB / 0.9436 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1948, allocations: 0 / 0.9436 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002679/0.1975, allocations: 1.043 MB / 0.9446 GB, free: 7.191 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.0002984/0.1978, allocations: 163.1 kB / 0.9448 GB, free: 7.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007848/0.2057, allocations: 3.906 MB / 0.9486 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.2057, allocations: 0 / 0.9486 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006611/0.2123, allocations: 2.808 MB / 0.9513 GB, free: 132 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/0.2152, allocations: 1.103 MB / 0.9524 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/0.223, allocations: 5.594 MB / 0.9579 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.2238, allocations: 0.7875 MB / 0.9586 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001189/0.2249, allocations: 355.5 kB / 0.959 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/0.2266, allocations: 0.9545 MB / 0.9599 GB, free: 7.297 MB / 0.9167 GB Notification: Performance of SimCode: time 1.794e-06/0.2266, allocations: 0 / 0.9599 GB, free: 7.297 MB / 0.9167 GB Notification: Performance of Templates: time 0.08609/0.3127, allocations: 78.24 MB / 1.036 GB, free: 10.45 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.220988945104182]