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.001017/0.001017, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009536/0.0009536, allocations: 161 kB / 24.16 MB, free: 336 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.9437/0.9437, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.848/1.848, allocations: 377.9 MB / 0.624 GB, free: 8.348 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 1.072e-06/1.072e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.467e-06/1.054e-05, allocations: 2.312 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01169/0.0117, allocations: 15 MB / 0.7747 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.02662, allocations: 12.83 MB / 0.7872 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.02778, allocations: 174.6 kB / 0.7874 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.02917, allocations: 0.7258 MB / 0.7881 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.03455, allocations: 3.251 MB / 0.7913 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.03667, allocations: 1.313 MB / 0.7925 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005299/0.04197, allocations: 5.976 MB / 0.7984 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.04483, allocations: 2.942 MB / 0.8013 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003685/0.04851, allocations: 3.674 MB / 0.8048 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.05069, allocations: 1.983 MB / 0.8068 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004229/0.05111, allocations: 364.5 kB / 0.8071 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.05176, allocations: 445.1 kB / 0.8076 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009157/0.05268, allocations: 1.289 MB / 0.8088 GB, free: 4.566 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.05396, allocations: 1.379 MB / 0.8102 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.05663, allocations: 3.064 MB / 0.8132 GB, free: 112 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.05663, allocations: 1.188 kB / 0.8132 GB, free: 112 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.71e-07/0.05663, allocations: 0 / 0.8132 GB, free: 112 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.098e-05/0.05665, allocations: 0 / 0.8132 GB, free: 112 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.005182/0.06183, allocations: 4.36 MB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.06186, allocations: 8.031 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006531/0.06839, allocations: 2.015 MB / 0.8194 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.07087, allocations: 1.877 MB / 0.8212 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.07109, allocations: 470.3 kB / 0.8217 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.07136, allocations: 240.4 kB / 0.8219 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.07422, allocations: 3.254 MB / 0.8251 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.07426, allocations: 3.984 kB / 0.8251 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.07445, allocations: 104 kB / 0.8252 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.07457, allocations: 168.8 kB / 0.8253 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.07582, allocations: 0.9821 MB / 0.8263 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006521/0.08234, allocations: 5.748 MB / 0.8319 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.08454, allocations: 1.622 MB / 0.8335 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.08498, allocations: 379.7 kB / 0.8339 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/0.08506, allocations: 29.3 kB / 0.8339 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/0.08602, allocations: 1.541 MB / 0.8354 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=163): time 2.575e-06/0.08602, allocations: 0 / 0.8354 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of matching and sorting (n=163): time 0.005966/0.09199, allocations: 3.334 MB / 0.8386 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.09216, allocations: 499.8 kB / 0.8391 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.09332, allocations: 1.691 MB / 0.8408 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.09343, allocations: 61.7 kB / 0.8408 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/0.09393, allocations: 1.039 MB / 0.8418 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.09425, allocations: 0.5576 MB / 0.8424 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.09461, allocations: 299.2 kB / 0.8427 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.09467, allocations: 301.1 kB / 0.843 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.09511, allocations: 412.4 kB / 0.8434 GB, free: 156 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.09583, allocations: 1.064 MB / 0.8444 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.09683, allocations: 1.031 MB / 0.8454 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.09684, allocations: 8 kB / 0.8454 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002751/0.09959, allocations: 1.901 MB / 0.8473 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.256e-05/0.09966, allocations: 152.5 kB / 0.8474 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.09967, allocations: 4 kB / 0.8474 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/0.1023, allocations: 1.227 MB / 0.8486 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.1031, allocations: 311.5 kB / 0.8489 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.1096, allocations: 4.724 MB / 0.8535 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.1106, allocations: 254.8 kB / 0.8538 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.1107, allocations: 59.91 kB / 0.8538 GB, free: 4.934 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.0004883/0.1112, allocations: 214.4 kB / 0.854 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.1115, allocations: 227.7 kB / 0.8542 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.1117, allocations: 298.3 kB / 0.8545 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.1117, allocations: 20 kB / 0.8546 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1117, allocations: 0 / 0.8546 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.1118, allocations: 7.969 kB / 0.8546 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.113, allocations: 1.213 MB / 0.8557 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1131, allocations: 0 / 0.8557 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.1136, allocations: 227.7 kB / 0.856 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.116, allocations: 1.191 MB / 0.8571 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.1161, allocations: 35.97 kB / 0.8572 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006308/0.1224, allocations: 4.553 MB / 0.8616 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1224, allocations: 3.984 kB / 0.8616 GB, free: 12.81 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.1246, allocations: 1.538 MB / 0.8631 GB, free: 11.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.1251, allocations: 365.7 kB / 0.8635 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.1253, allocations: 39.94 kB / 0.8635 GB, free: 10.85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.126, allocations: 143.8 kB / 0.8636 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.1263, allocations: 221.6 kB / 0.8638 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-05/0.1263, allocations: 39.97 kB / 0.8639 GB, free: 10.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005949/0.1269, allocations: 0.9 MB / 0.8648 GB, free: 9.547 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.1269, allocations: 0 / 0.8648 GB, free: 9.547 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001244/0.1282, allocations: 0.9631 MB / 0.8657 GB, free: 8.582 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.0001984/0.1284, allocations: 136.2 kB / 0.8658 GB, free: 8.441 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00316/0.1315, allocations: 2.246 MB / 0.868 GB, free: 6.086 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/0.1316, allocations: 28.5 kB / 0.8681 GB, free: 6.059 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/0.134, allocations: 1.412 MB / 0.8694 GB, free: 4.629 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.1359, allocations: 1.045 MB / 0.8705 GB, free: 3.621 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.1414, allocations: 4.863 MB / 0.8752 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.1419, allocations: 0.6538 MB / 0.8758 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008853/0.1427, allocations: 340.5 kB / 0.8762 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/0.1442, allocations: 0.8151 MB / 0.877 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of SimCode: time 1.123e-06/0.1442, allocations: 0 / 0.877 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of Templates: time 0.06068/0.2049, allocations: 58.27 MB / 0.9339 GB, free: 3.879 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 -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.259116728790104]