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.0007586/0.0007586, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007742/0.0007742, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.858/0.858, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.699/1.699, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.747e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01529/0.0153, allocations: 20.92 MB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.03368, allocations: 16.66 MB / 1.018 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.0372, allocations: 170.6 kB / 1.018 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.004927/0.04212, allocations: 4.183 MB / 1.022 GB, free: 8.516 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.007976/0.0501, allocations: 3.694 MB / 1.026 GB, free: 4.809 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.05242, allocations: 1.312 MB / 1.027 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00542/0.05784, allocations: 5.966 MB / 1.033 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.06039, allocations: 2.845 MB / 1.035 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.06431, allocations: 3.687 MB / 1.039 GB, free: 6.898 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.06637, allocations: 1.92 MB / 1.041 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003691/0.06674, allocations: 364 kB / 1.041 GB, free: 4.617 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.0681, allocations: 0.9706 MB / 1.042 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.06885, allocations: 1.265 MB / 1.043 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.07012, allocations: 1.368 MB / 1.045 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.4778/0.5479, allocations: 5.196 MB / 1.05 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5479, allocations: 0 / 1.05 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5479, allocations: 4.844 kB / 1.05 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.97e-05/0.5479, allocations: 0 / 1.05 GB, free: 53.74 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.004737/0.5527, allocations: 4.599 MB / 1.054 GB, free: 51.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5527, allocations: 11.59 kB / 1.054 GB, free: 51.76 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003272/0.553, allocations: 358.4 kB / 1.055 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/0.5601, allocations: 3.282 MB / 1.058 GB, free: 51.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.5623, allocations: 2.162 MB / 1.06 GB, free: 50.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.5625, allocations: 470.3 kB / 1.06 GB, free: 50.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.5628, allocations: 233 kB / 1.061 GB, free: 50.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005141/0.568, allocations: 5.363 MB / 1.066 GB, free: 49.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.568, allocations: 3.938 kB / 1.066 GB, free: 49.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.5682, allocations: 106.3 kB / 1.066 GB, free: 49.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5683, allocations: 171.2 kB / 1.066 GB, free: 49.26 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006447/0.5748, allocations: 5.195 MB / 1.071 GB, free: 49.14 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.5861, allocations: 9.164 MB / 1.08 GB, free: 46.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005386/0.5915, allocations: 3.248 MB / 1.083 GB, free: 45.96 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.5936, allocations: 1.371 MB / 1.085 GB, free: 45.56 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.715e-05/0.5937, allocations: 22.81 kB / 1.085 GB, free: 45.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002645/0.5963, allocations: 2.448 MB / 1.087 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 2.815e-06/0.5963, allocations: 1.469 kB / 1.087 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.06599/0.6623, allocations: 27.53 MB / 1.114 GB, free: 39.49 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.6624, allocations: 0.4894 MB / 1.114 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.6648, allocations: 2.312 MB / 1.117 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.6649, allocations: 76.77 kB / 1.117 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/0.6657, allocations: 1.454 MB / 1.118 GB, free: 36.85 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.6661, allocations: 0.8472 MB / 1.119 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/0.6667, allocations: 426 kB / 1.119 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.576e-05/0.6667, allocations: 306.2 kB / 1.12 GB, free: 35.69 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002914/0.6696, allocations: 2.067 MB / 1.122 GB, free: 34.94 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.6728, allocations: 2.764 MB / 1.124 GB, free: 33.44 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/0.6784, allocations: 4.171 MB / 1.129 GB, free: 31.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.6785, allocations: 2.625 kB / 1.129 GB, free: 31.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01003/0.6885, allocations: 6.624 MB / 1.135 GB, free: 28.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.301e-05/0.6886, allocations: 150.9 kB / 1.135 GB, free: 28.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.6886, allocations: 5.812 kB / 1.135 GB, free: 28.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004971/0.6936, allocations: 2.922 MB / 1.138 GB, free: 27.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.6949, allocations: 493.8 kB / 1.139 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.7152, allocations: 18.27 MB / 1.156 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.7178, allocations: 320.7 kB / 1.157 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.7179, allocations: 88.25 kB / 1.157 GB, free: 15.48 MB / 0.9948 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.001408/0.7193, allocations: 0.7133 MB / 1.157 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.7197, allocations: 353.4 kB / 1.158 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.72, allocations: 382.4 kB / 1.158 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.72, allocations: 26.44 kB / 1.158 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.659e-05/0.72, allocations: 7.281 kB / 1.158 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.72, allocations: 14.33 kB / 1.158 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.7229, allocations: 3.045 MB / 1.161 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.7229, allocations: 0 / 1.161 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.7239, allocations: 419.3 kB / 1.162 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004372/0.7283, allocations: 2.866 MB / 1.164 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.7284, allocations: 47.97 kB / 1.164 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/0.7489, allocations: 18.06 MB / 1.182 GB, free: 7.641 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7489, allocations: 5.859 kB / 1.182 GB, free: 7.637 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009888/0.7587, allocations: 6.112 MB / 1.188 GB, free: 1.566 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.7602, allocations: 0.6342 MB / 1.189 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.7605, allocations: 50.06 kB / 1.189 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.762, allocations: 315.6 kB / 1.189 GB, free: 0.5742 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008701/0.7628, allocations: 370 kB / 1.189 GB, free: 224 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.7629, allocations: 75.91 kB / 1.189 GB, free: 148 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001485/0.7644, allocations: 1.53 MB / 1.191 GB, free: 14.62 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7644, allocations: 0 / 1.191 GB, free: 14.62 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002043/0.7665, allocations: 1.047 MB / 1.192 GB, free: 13.57 MB / 1.026 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.00968/0.7762, allocations: 6.739 MB / 1.199 GB, free: 6.871 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.7882, allocations: 6.456 MB / 1.205 GB, free: 328 kB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.7882, allocations: 0.75 kB / 1.205 GB, free: 328 kB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00806/0.7962, allocations: 3.92 MB / 1.209 GB, free: 12.4 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.7994, allocations: 1.143 MB / 1.21 GB, free: 11.32 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04525/0.8446, allocations: 32.57 MB / 1.242 GB, free: 10.41 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.846, allocations: 1.684 MB / 1.243 GB, free: 8.691 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001926/0.848, allocations: 0.5097 MB / 1.244 GB, free: 8.176 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.8492, allocations: 1.344 MB / 1.245 GB, free: 6.832 MB / 1.073 GB Notification: Performance of SimCode: time 1.603e-06/0.8492, allocations: 0 / 1.245 GB, free: 6.832 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.9581, allocations: 106.8 MB / 1.349 GB, free: 13.95 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.45, allocations: 0 / 1.349 GB, free: 13.95 MB / 1.182 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable Sloads from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! Error: Could not read variable E.S[1] in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable E.S[1] from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.627951676025987]