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.000963/0.000963, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009978/0.0009978, allocations: 169 kB / 24.06 MB, free: 456 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.924/0.924, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.088/2.088, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.192e-06/1.192e-06, allocations: 0.5469 kB / 0.8794 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.141e-05, allocations: 2.312 kB / 0.8794 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01212/0.01214, allocations: 14.98 MB / 0.8941 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.02572, allocations: 12.55 MB / 0.9063 GB, free: 9.273 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/0.0285, allocations: 174.6 kB / 0.9065 GB, free: 9.102 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.03068, allocations: 0.7208 MB / 0.9072 GB, free: 8.375 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.03818, allocations: 3.235 MB / 0.9103 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.04115, allocations: 1.306 MB / 0.9116 GB, free: 3.82 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007788/0.04894, allocations: 5.984 MB / 0.9175 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004148/0.05309, allocations: 2.853 MB / 0.9202 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006515/0.0596, allocations: 3.68 MB / 0.9238 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.06322, allocations: 2.041 MB / 0.9258 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0009896/0.06421, allocations: 364 kB / 0.9262 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.06546, allocations: 435.9 kB / 0.9266 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.06654, allocations: 1.281 MB / 0.9278 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002179/0.06872, allocations: 1.383 MB / 0.9292 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.07263, allocations: 3.067 MB / 0.9322 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.07263, allocations: 0 / 0.9322 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.07263, allocations: 0 / 0.9322 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001218/0.07276, allocations: 0 / 0.9322 GB, free: 14.61 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.006135/0.07889, allocations: 4.575 MB / 0.9367 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.07893, allocations: 8.031 kB / 0.9367 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006287/0.08522, allocations: 2.332 MB / 0.9389 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/0.08862, allocations: 2.102 MB / 0.941 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.0889, allocations: 466.3 kB / 0.9414 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/0.08938, allocations: 248.3 kB / 0.9417 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/0.09334, allocations: 3.206 MB / 0.9448 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.09337, allocations: 4 kB / 0.9448 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.09359, allocations: 108 kB / 0.9449 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.09373, allocations: 176.8 kB / 0.9451 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.09538, allocations: 1.208 MB / 0.9463 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009725/0.1051, allocations: 7.435 MB / 0.9535 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.1078, allocations: 1.749 MB / 0.9552 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.1083, allocations: 458.3 kB / 0.9557 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/0.1084, allocations: 29.31 kB / 0.9557 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.1096, allocations: 1.586 MB / 0.9572 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 4.97e-06/0.1096, allocations: 0 / 0.9572 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.01441/0.124, allocations: 6.579 MB / 0.9637 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/0.1242, allocations: 0.4967 MB / 0.9642 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.126, allocations: 1.822 MB / 0.9659 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/0.1262, allocations: 77.7 kB / 0.966 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009391/0.1272, allocations: 1.511 MB / 0.9675 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005931/0.1278, allocations: 0.8714 MB / 0.9683 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005608/0.1283, allocations: 422.4 kB / 0.9687 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1284, allocations: 484.6 kB / 0.9692 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.1292, allocations: 0.618 MB / 0.9698 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.1303, allocations: 1.415 MB / 0.9712 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.132, allocations: 1.554 MB / 0.9727 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.132, allocations: 0 / 0.9727 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005583/0.1376, allocations: 3.405 MB / 0.976 GB, free: 44 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1377, allocations: 150.1 kB / 0.9762 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.1377, allocations: 7.938 kB / 0.9762 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006197/0.1439, allocations: 2.672 MB / 0.9788 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.1453, allocations: 387.4 kB / 0.9792 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.161, allocations: 10.75 MB / 0.9897 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.1629, allocations: 219.7 kB / 0.9899 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.163, allocations: 71.97 kB / 0.9899 GB, free: 1.574 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.0007478/0.1638, allocations: 290.3 kB / 0.9902 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.1643, allocations: 398.1 kB / 0.9906 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.1646, allocations: 353.2 kB / 0.9909 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.1646, allocations: 28 kB / 0.991 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/0.1646, allocations: 12 kB / 0.991 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.1646, allocations: 11.95 kB / 0.991 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.1667, allocations: 1.717 MB / 0.9927 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1668, allocations: 0 / 0.9927 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.1676, allocations: 307.5 kB / 0.9929 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006052/0.1737, allocations: 2.609 MB / 0.9955 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.1739, allocations: 51.97 kB / 0.9955 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/0.1912, allocations: 10.53 MB / 1.006 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1912, allocations: 0 / 1.006 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007072/0.1983, allocations: 3.045 MB / 1.009 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.1997, allocations: 0.5368 MB / 1.009 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/0.2001, allocations: 44 kB / 1.009 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.2016, allocations: 203.8 kB / 1.01 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009647/0.2025, allocations: 362.5 kB / 1.01 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.2027, allocations: 51.97 kB / 1.01 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001035/0.2037, allocations: 1.035 MB / 1.011 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2037, allocations: 0 / 1.011 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002401/0.2061, allocations: 1.039 MB / 1.012 GB, free: 10.64 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.0003085/0.2064, allocations: 163 kB / 1.012 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.2167, allocations: 3.894 MB / 1.016 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.2167, allocations: 1.375 kB / 1.016 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00868/0.2254, allocations: 2.811 MB / 1.019 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.229, allocations: 1.093 MB / 1.02 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3252/0.5542, allocations: 5.588 MB / 1.025 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.5553, allocations: 0.7833 MB / 1.026 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001666/0.5569, allocations: 361.2 kB / 1.026 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/0.5591, allocations: 0.9594 MB / 1.027 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.064e-06/0.5591, allocations: 0 / 1.027 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.08366/0.6428, allocations: 79.65 MB / 1.105 GB, free: 72.21 MB / 0.9323 GB " [Timeout remaining time 299] 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 -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: 7.429535611066967]