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.001437/0.001437, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001791/0.001791, allocations: 161 kB / 24.16 MB, free: 332 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.9876/0.9876, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 9.52e-07/9.52e-07, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.027e-06/9.979e-06, allocations: 5.406 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01071/0.01072, allocations: 15.05 MB / 0.7748 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.02432, allocations: 12.83 MB / 0.7873 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.02561, allocations: 174.6 kB / 0.7875 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.02703, allocations: 0.7294 MB / 0.7882 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005407/0.03243, allocations: 3.228 MB / 0.7913 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.03454, allocations: 1.311 MB / 0.7926 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005499/0.04004, allocations: 5.971 MB / 0.7984 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.04299, allocations: 2.943 MB / 0.8013 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.04681, allocations: 3.68 MB / 0.8049 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.04931, allocations: 1.987 MB / 0.8069 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004785/0.04979, allocations: 364 kB / 0.8072 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007296/0.05052, allocations: 439.8 kB / 0.8076 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009483/0.05146, allocations: 1.289 MB / 0.8089 GB, free: 4.48 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.05276, allocations: 1.376 MB / 0.8102 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.05561, allocations: 3.075 MB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.05561, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.343e-06/0.05561, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.05564, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 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.005733/0.06137, allocations: 4.356 MB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.0614, allocations: 11.56 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007811/0.06921, allocations: 2.008 MB / 0.8195 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.07191, allocations: 1.889 MB / 0.8213 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.07222, allocations: 466.3 kB / 0.8217 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/0.07261, allocations: 244.3 kB / 0.822 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/0.07685, allocations: 3.25 MB / 0.8252 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.07689, allocations: 0 / 0.8252 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.07715, allocations: 104 kB / 0.8252 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.07733, allocations: 172.8 kB / 0.8254 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.07924, allocations: 0.9782 MB / 0.8264 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008882/0.08812, allocations: 5.76 MB / 0.832 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.09048, allocations: 1.618 MB / 0.8336 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.09094, allocations: 375.7 kB / 0.8339 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.09103, allocations: 29.31 kB / 0.834 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.09204, allocations: 1.529 MB / 0.8355 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=163): time 2.625e-06/0.09204, allocations: 0 / 0.8355 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of matching and sorting (n=163): time 0.006299/0.09834, allocations: 3.346 MB / 0.8387 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.0985, allocations: 495.9 kB / 0.8392 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.0996, allocations: 1.688 MB / 0.8408 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.09971, allocations: 61.7 kB / 0.8409 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.1002, allocations: 1.043 MB / 0.8419 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.1005, allocations: 0.5576 MB / 0.8425 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/0.1009, allocations: 295.3 kB / 0.8427 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.101, allocations: 301.1 kB / 0.843 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.1014, allocations: 416.4 kB / 0.8434 GB, free: 60 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.1021, allocations: 1.068 MB / 0.8445 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.1037, allocations: 1.016 MB / 0.8455 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1037, allocations: 8 kB / 0.8455 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002579/0.1063, allocations: 1.909 MB / 0.8473 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.1064, allocations: 148.5 kB / 0.8475 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1064, allocations: 8 kB / 0.8475 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/0.109, allocations: 1.228 MB / 0.8487 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.1099, allocations: 327.5 kB / 0.849 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007349/0.1172, allocations: 4.838 MB / 0.8537 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/0.1182, allocations: 254.8 kB / 0.854 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.1183, allocations: 59.97 kB / 0.854 GB, free: 4.711 MB / 0.8073 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.0004359/0.1188, allocations: 222.3 kB / 0.8542 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.119, allocations: 235.7 kB / 0.8545 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.1193, allocations: 290.4 kB / 0.8547 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1193, allocations: 16 kB / 0.8548 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1193, allocations: 0 / 0.8548 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.1193, allocations: 7.969 kB / 0.8548 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1206, allocations: 1.213 MB / 0.8559 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1206, allocations: 0 / 0.8559 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.1213, allocations: 247.6 kB / 0.8562 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002642/0.124, allocations: 1.183 MB / 0.8573 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.1241, allocations: 35.97 kB / 0.8574 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/0.1312, allocations: 4.658 MB / 0.8619 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1312, allocations: 0 / 0.8619 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.1337, allocations: 1.53 MB / 0.8634 GB, free: 10.92 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.1342, allocations: 369.6 kB / 0.8638 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.1344, allocations: 43.92 kB / 0.8638 GB, free: 10.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/0.1352, allocations: 151.8 kB / 0.864 GB, free: 10.36 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/0.1355, allocations: 221.6 kB / 0.8642 GB, free: 10.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.1356, allocations: 39.97 kB / 0.8642 GB, free: 10.11 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006637/0.1363, allocations: 0.9 MB / 0.8651 GB, free: 9.199 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1363, allocations: 0 / 0.8651 GB, free: 9.199 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001513/0.1378, allocations: 0.9631 MB / 0.866 GB, free: 8.234 MB / 0.823 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.0001953/0.138, allocations: 124.3 kB / 0.8661 GB, free: 8.105 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.1414, allocations: 2.25 MB / 0.8683 GB, free: 5.746 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.27e-05/0.1415, allocations: 28.5 kB / 0.8684 GB, free: 5.719 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.1441, allocations: 1.416 MB / 0.8697 GB, free: 4.285 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.1459, allocations: 1.041 MB / 0.8708 GB, free: 3.281 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/0.1514, allocations: 4.871 MB / 0.8755 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.1519, allocations: 0.6577 MB / 0.8762 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008761/0.1528, allocations: 340.4 kB / 0.8765 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/0.1543, allocations: 0.8191 MB / 0.8773 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of SimCode: time 1.252e-06/0.1543, allocations: 0 / 0.8773 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.08306/0.2374, allocations: 58.26 MB / 0.9342 GB, free: 3.535 MB / 0.8855 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 -s gbode -gbm=radauIIA3 -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: 6.43882937496528]