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.001364/0.001364, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001512/0.001512, allocations: 214 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 62.34 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3459, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02816/0.374, allocations: 21.27 MB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02943/0.4035, allocations: 16.85 MB / 1.363 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004639/0.4081, allocations: 170.6 kB / 1.363 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.4203, allocations: 4.165 MB / 1.367 GB, free: 6.859 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.4321, allocations: 3.583 MB / 1.371 GB, free: 3.266 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.4363, allocations: 1.314 MB / 1.372 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009801/0.4461, allocations: 5.788 MB / 1.378 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005078/0.4512, allocations: 2.877 MB / 1.381 GB, free: 9.191 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005712/0.4569, allocations: 2.827 MB / 1.383 GB, free: 6.355 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004877/0.4617, allocations: 2.307 MB / 1.386 GB, free: 4.039 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.4631, allocations: 371.9 kB / 1.386 GB, free: 3.676 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.466, allocations: 0.9593 MB / 1.387 GB, free: 2.715 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.4679, allocations: 1.215 MB / 1.388 GB, free: 1.496 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003409/0.4713, allocations: 1.633 MB / 1.39 GB, free: 15.85 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008328/0.4796, allocations: 5.199 MB / 1.395 GB, free: 10.64 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4796, allocations: 0 / 1.395 GB, free: 10.64 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4797, allocations: 0 / 1.395 GB, free: 10.64 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001864/0.4798, allocations: 0 / 1.395 GB, free: 10.64 MB / 1.092 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.01141/0.4913, allocations: 4.647 MB / 1.399 GB, free: 5.891 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4913, allocations: 15.97 kB / 1.399 GB, free: 5.875 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000697/0.492, allocations: 362.3 kB / 1.4 GB, free: 5.512 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.508, allocations: 3.271 MB / 1.403 GB, free: 2.234 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005574/0.5135, allocations: 2.155 MB / 1.405 GB, free: 4 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/0.5141, allocations: 474 kB / 1.405 GB, free: 15.48 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009449/0.515, allocations: 236 kB / 1.406 GB, free: 15.25 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.5276, allocations: 5.363 MB / 1.411 GB, free: 9.629 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.5276, allocations: 3.984 kB / 1.411 GB, free: 9.625 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/0.528, allocations: 112 kB / 1.411 GB, free: 9.516 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.5282, allocations: 168.8 kB / 1.411 GB, free: 9.348 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.5427, allocations: 5.191 MB / 1.416 GB, free: 4.141 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/0.564, allocations: 9.166 MB / 1.425 GB, free: 10.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.5741, allocations: 3.25 MB / 1.428 GB, free: 7.574 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/0.578, allocations: 1.369 MB / 1.43 GB, free: 6.207 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.5781, allocations: 17.3 kB / 1.43 GB, free: 6.191 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004911/0.583, allocations: 2.452 MB / 1.432 GB, free: 3.512 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 4.278e-06/0.583, allocations: 0 / 1.432 GB, free: 3.512 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.128/0.7111, allocations: 27.55 MB / 1.459 GB, free: 7.91 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002906/0.7114, allocations: 0.4928 MB / 1.459 GB, free: 7.309 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/0.7147, allocations: 2.316 MB / 1.462 GB, free: 4.98 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004002/0.7151, allocations: 73.7 kB / 1.462 GB, free: 4.902 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.7164, allocations: 1.46 MB / 1.463 GB, free: 3.43 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009568/0.7174, allocations: 0.8598 MB / 1.464 GB, free: 2.562 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009021/0.7183, allocations: 416.5 kB / 1.464 GB, free: 2.148 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7184, allocations: 301.1 kB / 1.465 GB, free: 1.852 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005559/0.724, allocations: 2.066 MB / 1.467 GB, free: 15.75 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006068/0.73, allocations: 2.778 MB / 1.469 GB, free: 12.76 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.7411, allocations: 4.158 MB / 1.474 GB, free: 8.465 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.7411, allocations: 4 kB / 1.474 GB, free: 8.461 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01936/0.7605, allocations: 6.619 MB / 1.48 GB, free: 1.723 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.7606, allocations: 150.2 kB / 1.48 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.7607, allocations: 8.281 kB / 1.48 GB, free: 1.539 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/0.7709, allocations: 2.932 MB / 1.483 GB, free: 14.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/0.7739, allocations: 483.2 kB / 1.483 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04145/0.8154, allocations: 18.29 MB / 1.501 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/0.8192, allocations: 319.6 kB / 1.502 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.8196, allocations: 95.97 kB / 1.502 GB, free: 11.23 MB / 1.201 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.001705/0.8213, allocations: 0.7029 MB / 1.502 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008026/0.8221, allocations: 345.9 kB / 1.503 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007734/0.8228, allocations: 388.1 kB / 1.503 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.8229, allocations: 24 kB / 1.503 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-05/0.8229, allocations: 12 kB / 1.503 GB, free: 9.754 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.8229, allocations: 11.95 kB / 1.503 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.8281, allocations: 3.039 MB / 1.506 GB, free: 6.656 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.8281, allocations: 0 / 1.506 GB, free: 6.656 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/0.8306, allocations: 427.3 kB / 1.507 GB, free: 6.238 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01001/0.8406, allocations: 2.855 MB / 1.509 GB, free: 3.375 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004902/0.8411, allocations: 51.97 kB / 1.509 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0403/0.8814, allocations: 18.06 MB / 1.527 GB, free: 1.012 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8814, allocations: 0.5625 kB / 1.527 GB, free: 1.012 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01905/0.9005, allocations: 6.12 MB / 1.533 GB, free: 10.86 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/0.9029, allocations: 0.6381 MB / 1.534 GB, free: 10.22 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009434/0.9039, allocations: 47.94 kB / 1.534 GB, free: 10.18 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/0.9074, allocations: 315.6 kB / 1.534 GB, free: 9.867 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/0.9087, allocations: 362.5 kB / 1.534 GB, free: 9.512 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/0.9089, allocations: 75.89 kB / 1.534 GB, free: 9.438 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.002362/0.9112, allocations: 1.536 MB / 1.536 GB, free: 7.902 MB / 1.233 GB Notification: Performance of sort global known variables: time 8e-08/0.9112, allocations: 0 / 1.536 GB, free: 7.902 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.003255/0.9145, allocations: 1.043 MB / 1.537 GB, free: 6.859 MB / 1.233 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.01886/0.9334, allocations: 6.745 MB / 1.543 GB, free: 72 kB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.0237/0.9571, allocations: 6.461 MB / 1.55 GB, free: 9.484 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.9571, allocations: 4 kB / 1.55 GB, free: 9.48 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01736/0.9744, allocations: 3.923 MB / 1.554 GB, free: 5.523 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/0.9795, allocations: 1.139 MB / 1.555 GB, free: 4.422 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0755/1.055, allocations: 32.39 MB / 1.586 GB, free: 3.445 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/1.057, allocations: 1.684 MB / 1.588 GB, free: 1.719 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002356/1.06, allocations: 0.498 MB / 1.589 GB, free: 1.215 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/1.061, allocations: 1.343 MB / 1.59 GB, free: 15.86 MB / 1.295 GB Notification: Performance of SimCode: time 1.022e-06/1.061, allocations: 0 / 1.59 GB, free: 15.86 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7814/1.843, allocations: 107.9 MB / 1.695 GB, free: 204.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.11/19.95, allocations: 4.062 kB / 1.695 GB, free: 204.8 MB / 1.295 GB " [Timeout remaining time 280] (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/jenkins1/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: 26.81104195100488]