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.0009388/0.0009388, 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.0009834/0.0009834, 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.9617/0.9617, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.441/2.441, allocations: 438.8 MB / 0.6826 GB, free: 13.6 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 1.934e-06/1.934e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.979e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01234/0.01237, allocations: 15.05 MB / 0.8533 GB, free: 15.05 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01725/0.02961, allocations: 12.84 MB / 0.8659 GB, free: 2.164 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.03333, allocations: 170.6 kB / 0.866 GB, free: 1.996 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.03542, allocations: 0.7286 MB / 0.8667 GB, free: 1.262 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007909/0.04333, allocations: 3.234 MB / 0.8699 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.04624, allocations: 1.314 MB / 0.8712 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.007098/0.05333, allocations: 5.961 MB / 0.877 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.05719, allocations: 2.95 MB / 0.8799 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005651/0.06285, allocations: 3.68 MB / 0.8835 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.0661, allocations: 1.987 MB / 0.8854 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008903/0.06699, allocations: 364 kB / 0.8858 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.06814, allocations: 439.8 kB / 0.8862 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.06923, allocations: 1.285 MB / 0.8874 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.07111, allocations: 1.379 MB / 0.8888 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.07495, allocations: 3.075 MB / 0.8918 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.07496, allocations: 0 / 0.8918 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.203e-06/0.07496, allocations: 0 / 0.8918 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001209/0.07508, allocations: 0 / 0.8918 GB, free: 7.445 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.00538/0.08046, allocations: 4.356 MB / 0.896 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.0805, allocations: 8.625 kB / 0.8961 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005526/0.08603, allocations: 2.01 MB / 0.898 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.08912, allocations: 1.883 MB / 0.8999 GB, free: 15 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.08941, allocations: 474.3 kB / 0.9003 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003957/0.08981, allocations: 240.4 kB / 0.9005 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.09368, allocations: 3.244 MB / 0.9037 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.09372, allocations: 0 / 0.9037 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.09392, allocations: 104 kB / 0.9038 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.09407, allocations: 180.8 kB / 0.904 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.09561, allocations: 0.9744 MB / 0.9049 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008944/0.1046, allocations: 5.752 MB / 0.9105 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.1072, allocations: 1.616 MB / 0.9121 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.1077, allocations: 383.6 kB / 0.9125 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-05/0.1078, allocations: 25.31 kB / 0.9125 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.109, allocations: 1.536 MB / 0.914 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=163): time 4.549e-06/0.109, allocations: 0 / 0.914 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=163): time 0.006852/0.1158, allocations: 3.334 MB / 0.9173 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.116, allocations: 496 kB / 0.9177 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.1176, allocations: 1.688 MB / 0.9194 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.1177, allocations: 61.7 kB / 0.9195 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006795/0.1184, allocations: 1.039 MB / 0.9205 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004343/0.1188, allocations: 0.5576 MB / 0.921 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.1192, allocations: 295.3 kB / 0.9213 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.1193, allocations: 301.1 kB / 0.9216 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.1198, allocations: 412.4 kB / 0.922 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.1205, allocations: 1.072 MB / 0.923 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.1216, allocations: 1.024 MB / 0.924 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.1216, allocations: 3.938 kB / 0.924 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003164/0.1247, allocations: 1.913 MB / 0.9259 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.1248, allocations: 148.5 kB / 0.926 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.1248, allocations: 4 kB / 0.926 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/0.1278, allocations: 1.236 MB / 0.9272 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/0.1288, allocations: 327.5 kB / 0.9276 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/0.1365, allocations: 4.84 MB / 0.9323 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.1379, allocations: 250.8 kB / 0.9325 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.138, allocations: 55.97 kB / 0.9326 GB, free: 12.12 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.0007331/0.1388, allocations: 222.3 kB / 0.9328 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.1392, allocations: 227.7 kB / 0.933 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.1394, allocations: 294.4 kB / 0.9333 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.1394, allocations: 20 kB / 0.9333 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1394, allocations: 0 / 0.9333 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.1395, allocations: 7.969 kB / 0.9333 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.1411, allocations: 1.217 MB / 0.9345 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1411, allocations: 0 / 0.9345 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.1419, allocations: 247.6 kB / 0.9347 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/0.1446, allocations: 1.187 MB / 0.9359 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.1447, allocations: 35.97 kB / 0.9359 GB, free: 8.641 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007414/0.1521, allocations: 4.667 MB / 0.9405 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1521, allocations: 0 / 0.9405 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.155, allocations: 1.53 MB / 0.942 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008517/0.1559, allocations: 361.8 kB / 0.9423 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.1562, allocations: 39.92 kB / 0.9424 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.1571, allocations: 147.8 kB / 0.9425 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/0.1575, allocations: 221.6 kB / 0.9427 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.1576, allocations: 39.97 kB / 0.9428 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008384/0.1584, allocations: 0.8961 MB / 0.9436 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1584, allocations: 0 / 0.9436 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001763/0.1602, allocations: 0.9708 MB / 0.9446 GB, free: 15.64 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.0002633/0.1605, allocations: 132.3 kB / 0.9447 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004024/0.1645, allocations: 2.246 MB / 0.9469 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.618e-05/0.1645, allocations: 24.88 kB / 0.9469 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.1674, allocations: 1.423 MB / 0.9483 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.1699, allocations: 1.043 MB / 0.9493 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/0.1764, allocations: 4.873 MB / 0.9541 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.177, allocations: 0.6538 MB / 0.9547 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001261/0.1782, allocations: 352.4 kB / 0.9551 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/0.1799, allocations: 0.8152 MB / 0.9559 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of SimCode: time 1.613e-06/0.1799, allocations: 0 / 0.9559 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of Templates: time 0.07019/0.2501, allocations: 58.22 MB / 1.013 GB, free: 11 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 -s gbode -gbm=radauIIA3 -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.6055199056863785]