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.0008458/0.0008458, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009584/0.0009584, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8591/0.8591, allocations: 177.2 MB / 202.8 MB, free: 5.73 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 1.759/1.759, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.994e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01568/0.0157, allocations: 20.92 MB / 1.02 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.0333, allocations: 16.65 MB / 1.036 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.03582, allocations: 174.6 kB / 1.037 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004777/0.0406, allocations: 4.181 MB / 1.041 GB, free: 3.379 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.4763/0.5169, allocations: 3.695 MB / 1.044 GB, free: 45.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.5193, allocations: 1.312 MB / 1.046 GB, free: 45.09 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004168/0.5235, allocations: 5.958 MB / 1.051 GB, free: 44.12 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.5253, allocations: 2.84 MB / 1.054 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.5278, allocations: 3.701 MB / 1.058 GB, free: 43.42 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.5292, allocations: 1.908 MB / 1.06 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.5295, allocations: 366.4 kB / 1.06 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5306, allocations: 0.9733 MB / 1.061 GB, free: 43.18 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005078/0.5311, allocations: 1.26 MB / 1.062 GB, free: 42.98 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.5318, allocations: 1.364 MB / 1.063 GB, free: 42.81 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.5344, allocations: 5.2 MB / 1.069 GB, free: 41.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5344, allocations: 0 / 1.069 GB, free: 41.82 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5344, allocations: 0 / 1.069 GB, free: 41.82 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.497e-05/0.5344, allocations: 0 / 1.069 GB, free: 41.82 MB / 0.9948 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.004215/0.5387, allocations: 4.601 MB / 1.073 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5387, allocations: 15.94 kB / 1.073 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000268/0.539, allocations: 357.7 kB / 1.073 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007519/0.5465, allocations: 3.283 MB / 1.077 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.5489, allocations: 2.159 MB / 1.079 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.5491, allocations: 470.8 kB / 1.079 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.5494, allocations: 238 kB / 1.079 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/0.5553, allocations: 5.359 MB / 1.085 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.5553, allocations: 12.59 kB / 1.085 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.5556, allocations: 101.5 kB / 1.085 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.5557, allocations: 169.8 kB / 1.085 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007299/0.563, allocations: 5.193 MB / 1.09 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.5742, allocations: 9.167 MB / 1.099 GB, free: 28.69 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005436/0.5796, allocations: 3.247 MB / 1.102 GB, free: 27.69 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.5817, allocations: 1.375 MB / 1.103 GB, free: 27.28 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.862e-05/0.5818, allocations: 23.58 kB / 1.103 GB, free: 27.28 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002647/0.5845, allocations: 2.446 MB / 1.106 GB, free: 25.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 3.186e-06/0.5845, allocations: 1.094 kB / 1.106 GB, free: 25.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.06433/0.6488, allocations: 27.55 MB / 1.133 GB, free: 19.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6489, allocations: 0.4941 MB / 1.133 GB, free: 19.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.6511, allocations: 2.312 MB / 1.135 GB, free: 17.94 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.6513, allocations: 77.36 kB / 1.136 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/0.6519, allocations: 1.452 MB / 1.137 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.6523, allocations: 0.8508 MB / 1.138 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005269/0.6529, allocations: 419.6 kB / 1.138 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.348e-05/0.6529, allocations: 306.4 kB / 1.138 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.6555, allocations: 2.067 MB / 1.141 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/0.6582, allocations: 2.771 MB / 1.143 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005177/0.6634, allocations: 4.169 MB / 1.147 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6634, allocations: 3.094 kB / 1.147 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009223/0.6726, allocations: 6.612 MB / 1.154 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.6727, allocations: 149.4 kB / 1.154 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6727, allocations: 9.75 kB / 1.154 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004692/0.6774, allocations: 2.921 MB / 1.157 GB, free: 4.426 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.6786, allocations: 493.1 kB / 1.157 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.6998, allocations: 18.29 MB / 1.175 GB, free: 1.543 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.7024, allocations: 323.6 kB / 1.175 GB, free: 1.227 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.7025, allocations: 91.97 kB / 1.175 GB, free: 1.137 MB / 1.01 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.001283/0.7038, allocations: 0.6996 MB / 1.176 GB, free: 456 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.7041, allocations: 357.8 kB / 1.176 GB, free: 96 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.7045, allocations: 385.6 kB / 1.177 GB, free: 15.71 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7045, allocations: 24 kB / 1.177 GB, free: 15.69 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.514e-05/0.7045, allocations: 12 kB / 1.177 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.7046, allocations: 12.52 kB / 1.177 GB, free: 15.66 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.7075, allocations: 3.041 MB / 1.18 GB, free: 12.63 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.7075, allocations: 3.938 kB / 1.18 GB, free: 12.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.7085, allocations: 420.5 kB / 1.18 GB, free: 12.23 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/0.7134, allocations: 2.859 MB / 1.183 GB, free: 9.355 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.7135, allocations: 51.97 kB / 1.183 GB, free: 9.305 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/0.7345, allocations: 18.06 MB / 1.201 GB, free: 7.043 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7345, allocations: 1.25 kB / 1.201 GB, free: 7.043 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009792/0.7443, allocations: 6.122 MB / 1.207 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.7457, allocations: 0.6304 MB / 1.207 GB, free: 340 kB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.746, allocations: 44 kB / 1.207 GB, free: 296 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.7475, allocations: 319.5 kB / 1.208 GB, free: 15.98 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000935/0.7484, allocations: 362.5 kB / 1.208 GB, free: 15.62 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.7486, allocations: 71.91 kB / 1.208 GB, free: 15.55 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001936/0.7505, allocations: 1.536 MB / 1.21 GB, free: 14.02 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7505, allocations: 0 / 1.21 GB, free: 14.02 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001906/0.7524, allocations: 1.047 MB / 1.211 GB, free: 12.97 MB / 1.057 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.009515/0.7619, allocations: 6.739 MB / 1.217 GB, free: 6.277 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01159/0.7735, allocations: 6.446 MB / 1.224 GB, free: 15.74 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7735, allocations: 4 kB / 1.224 GB, free: 15.74 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.008048/0.7816, allocations: 3.932 MB / 1.227 GB, free: 11.8 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.7845, allocations: 1.135 MB / 1.228 GB, free: 10.71 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04134/0.8258, allocations: 32.56 MB / 1.26 GB, free: 9.809 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.8271, allocations: 1.688 MB / 1.262 GB, free: 8.082 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001409/0.8285, allocations: 0.5019 MB / 1.262 GB, free: 7.574 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/0.8296, allocations: 1.348 MB / 1.264 GB, free: 6.227 MB / 1.104 GB Notification: Performance of SimCode: time 1.062e-06/0.8296, allocations: 0 / 1.264 GB, free: 6.227 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.934, allocations: 106.8 MB / 1.368 GB, free: 13.13 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.27, allocations: 6.438 kB / 1.368 GB, free: 13.12 MB / 1.214 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable Sloads in file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable Sloads from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! Error: Could not read variable E.S[1] in file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable E.S[1] from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.50151534937322]