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.0009344/0.0009344, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009901/0.0009901, allocations: 169 kB / 24.28 MB, free: 272 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.9678/0.9678, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.873/1.873, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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.293e-06/1.293e-06, allocations: 0 / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.818e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01697/0.01699, allocations: 22.8 MB / 0.8338 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.0341, allocations: 17.83 MB / 0.8512 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.03546, allocations: 170.7 kB / 0.8514 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.04028, allocations: 4.279 MB / 0.8556 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005856/0.04613, allocations: 3.699 MB / 0.8592 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.0481, allocations: 1.314 MB / 0.8605 GB, free: 15.83 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004831/0.05293, allocations: 5.957 MB / 0.8663 GB, free: 9.855 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.05564, allocations: 2.849 MB / 0.8691 GB, free: 6.93 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.05919, allocations: 3.707 MB / 0.8727 GB, free: 3.215 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.06125, allocations: 2.03 MB / 0.8747 GB, free: 1.18 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003934/0.06164, allocations: 364 kB / 0.875 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.06301, allocations: 0.9629 MB / 0.876 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0007665/0.06378, allocations: 1.281 MB / 0.8772 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.0649, allocations: 1.387 MB / 0.8786 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.06766, allocations: 3.387 MB / 0.8819 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.06767, allocations: 3.984 kB / 0.8819 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.06767, allocations: 0 / 0.8819 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.0677, allocations: 0 / 0.8819 GB, free: 9.781 MB / 0.8386 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.005123/0.07282, allocations: 4.692 MB / 0.8865 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.07286, allocations: 15.95 kB / 0.8865 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007002/0.07986, allocations: 3.069 MB / 0.8895 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.08217, allocations: 2.2 MB / 0.8916 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.08241, allocations: 466.2 kB / 0.8921 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.08271, allocations: 244.3 kB / 0.8923 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/0.08682, allocations: 3.5 MB / 0.8957 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.08686, allocations: 4 kB / 0.8957 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.08709, allocations: 104 kB / 0.8958 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/0.08734, allocations: 168.8 kB / 0.896 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.08994, allocations: 1.555 MB / 0.8975 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008617/0.09856, allocations: 7.949 MB / 0.9053 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.1015, allocations: 1.922 MB / 0.9071 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/0.1022, allocations: 0.5374 MB / 0.9077 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/0.1023, allocations: 29.31 kB / 0.9077 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.1036, allocations: 1.676 MB / 0.9093 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.146e-06/0.1036, allocations: 3.938 kB / 0.9093 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.01459/0.1182, allocations: 7.52 MB / 0.9167 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003974/0.1186, allocations: 0.4889 MB / 0.9172 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.1201, allocations: 1.878 MB / 0.919 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.1203, allocations: 77.7 kB / 0.9191 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007418/0.121, allocations: 1.523 MB / 0.9205 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/0.1215, allocations: 0.8559 MB / 0.9214 GB, free: 216 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000558/0.1221, allocations: 406.7 kB / 0.9218 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1222, allocations: 480.7 kB / 0.9222 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.1233, allocations: 0.7742 MB / 0.923 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.125, allocations: 1.572 MB / 0.9245 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.1272, allocations: 1.824 MB / 0.9263 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1272, allocations: 0 / 0.9263 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006092/0.1333, allocations: 3.772 MB / 0.93 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.1334, allocations: 152.4 kB / 0.9301 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1334, allocations: 4 kB / 0.9301 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006369/0.1398, allocations: 2.719 MB / 0.9328 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.1408, allocations: 387.4 kB / 0.9332 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/0.1577, allocations: 11.35 MB / 0.9442 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.1591, allocations: 215.7 kB / 0.9444 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.1593, allocations: 87.97 kB / 0.9445 GB, free: 7.688 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 (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.0008366/0.1601, allocations: 294.2 kB / 0.9448 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/0.1605, allocations: 394.1 kB / 0.9452 GB, free: 7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.1609, allocations: 365.2 kB / 0.9455 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.1609, allocations: 31.94 kB / 0.9456 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/0.1609, allocations: 8 kB / 0.9456 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.1609, allocations: 11.95 kB / 0.9456 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.1631, allocations: 2.09 MB / 0.9476 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.1631, allocations: 0 / 0.9476 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008219/0.1639, allocations: 307.5 kB / 0.9479 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006182/0.1701, allocations: 2.668 MB / 0.9505 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.1702, allocations: 51.97 kB / 0.9506 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.1867, allocations: 11.11 MB / 0.9614 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1867, allocations: 0 / 0.9614 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00597/0.1927, allocations: 3.362 MB / 0.9647 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.1937, allocations: 0.5836 MB / 0.9653 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.194, allocations: 51.94 kB / 0.9653 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.1951, allocations: 203.8 kB / 0.9655 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006262/0.1957, allocations: 358.5 kB / 0.9659 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/0.196, allocations: 71.97 kB / 0.9659 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001053/0.197, allocations: 1.129 MB / 0.967 GB, free: 264 kB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.197, allocations: 0 / 0.967 GB, free: 264 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001765/0.1988, allocations: 1.035 MB / 0.968 GB, free: 15.22 MB / 0.9323 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.0002674/0.199, allocations: 169.2 kB / 0.9682 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007962/0.207, allocations: 4.184 MB / 0.9723 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.207, allocations: 4 kB / 0.9723 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006532/0.2135, allocations: 2.948 MB / 0.9752 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.2157, allocations: 1.1 MB / 0.9763 GB, free: 6.668 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.2225, allocations: 5.648 MB / 0.9818 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.2231, allocations: 0.7836 MB / 0.9825 GB, free: 160 kB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009841/0.2241, allocations: 407.4 kB / 0.9829 GB, free: 15.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.2246, allocations: 176.5 kB / 0.9831 GB, free: 15.58 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/0.2246, allocations: 0 / 0.9831 GB, free: 15.58 MB / 0.948 GB Notification: Performance of Templates: time 0.3649/0.5895, allocations: 73.7 MB / 1.055 GB, free: 259.2 MB / 0.9948 GB " [Timeout remaining time 299] 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.151025915984064]