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.001719/0.001719, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002104/0.002104, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 9.09 MB / 206.1 MB " [Timeout remaining time 178] 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 3.185/3.185, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> 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: 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.001983/0.001983, allocations: 71.72 kB / 1.172 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3577, allocations: 180.2 MB / 1.348 GB, free: 9.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02715/0.3848, allocations: 22.96 MB / 1.37 GB, free: 2.895 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02689/0.4117, allocations: 17.82 MB / 1.388 GB, free: 1.016 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.4151, allocations: 170.6 kB / 1.388 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.4261, allocations: 4.218 MB / 1.392 GB, free: 12.62 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.4373, allocations: 3.574 MB / 1.395 GB, free: 9.039 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.4409, allocations: 1.294 MB / 1.397 GB, free: 7.746 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008852/0.4498, allocations: 5.803 MB / 1.402 GB, free: 1.922 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004422/0.4542, allocations: 2.8 MB / 1.405 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.4592, allocations: 2.82 MB / 1.408 GB, free: 12.22 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/0.4634, allocations: 2.315 MB / 1.41 GB, free: 9.895 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007275/0.4641, allocations: 364 kB / 1.41 GB, free: 9.539 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.4664, allocations: 1.053 MB / 1.411 GB, free: 8.484 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.4678, allocations: 1.215 MB / 1.413 GB, free: 7.266 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.4704, allocations: 1.979 MB / 1.415 GB, free: 5.277 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006505/0.4769, allocations: 5.16 MB / 1.42 GB, free: 100 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4769, allocations: 0 / 1.42 GB, free: 100 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4769, allocations: 4 kB / 1.42 GB, free: 96 kB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001188/0.4771, allocations: 0 / 1.42 GB, free: 96 kB / 1.107 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.01061/0.4877, allocations: 4.707 MB / 1.424 GB, free: 11.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4877, allocations: 19.98 kB / 1.424 GB, free: 11.25 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005046/0.4882, allocations: 362.3 kB / 1.425 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.5049, allocations: 3.271 MB / 1.428 GB, free: 7.605 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/0.5097, allocations: 2.266 MB / 1.43 GB, free: 5.273 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004285/0.5101, allocations: 474 kB / 1.43 GB, free: 4.746 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005759/0.5107, allocations: 236 kB / 1.431 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.5217, allocations: 4.714 MB / 1.435 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/0.5217, allocations: 7.938 kB / 1.435 GB, free: 15.7 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/0.5221, allocations: 99.98 kB / 1.435 GB, free: 15.6 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.5223, allocations: 168.8 kB / 1.436 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.5367, allocations: 5.191 MB / 1.441 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/0.5601, allocations: 14.41 MB / 1.455 GB, free: 10.65 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009867/0.5699, allocations: 3.257 MB / 1.458 GB, free: 7.379 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/0.5738, allocations: 1.373 MB / 1.459 GB, free: 6.008 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.574, allocations: 29.28 kB / 1.459 GB, free: 5.977 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004457/0.5784, allocations: 1.787 MB / 1.461 GB, free: 4.125 MB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 4.448e-06/0.5784, allocations: 0 / 1.461 GB, free: 4.125 MB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.134/0.7124, allocations: 28.23 MB / 1.489 GB, free: 7.672 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00033/0.7128, allocations: 0.4889 MB / 1.489 GB, free: 7.074 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.717, allocations: 2.296 MB / 1.491 GB, free: 4.766 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005122/0.7175, allocations: 81.64 kB / 1.491 GB, free: 4.68 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.719, allocations: 1.464 MB / 1.493 GB, free: 3.203 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.7202, allocations: 0.852 MB / 1.494 GB, free: 2.344 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.7215, allocations: 420.5 kB / 1.494 GB, free: 1.926 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7217, allocations: 305.1 kB / 1.494 GB, free: 1.625 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005772/0.7274, allocations: 1.929 MB / 1.496 GB, free: 15.69 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/0.7336, allocations: 2.231 MB / 1.498 GB, free: 13.38 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/0.7456, allocations: 4.157 MB / 1.502 GB, free: 9.082 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.7456, allocations: 7.938 kB / 1.502 GB, free: 9.074 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02083/0.7664, allocations: 6.475 MB / 1.509 GB, free: 2.512 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.7666, allocations: 151.3 kB / 1.509 GB, free: 2.336 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.7666, allocations: 8 kB / 1.509 GB, free: 2.328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.7775, allocations: 2.926 MB / 1.512 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.7805, allocations: 495.2 kB / 1.512 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04448/0.825, allocations: 18.85 MB / 1.531 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/0.8294, allocations: 323.5 kB / 1.531 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/0.8299, allocations: 91.97 kB / 1.531 GB, free: 11.39 MB / 1.232 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.001929/0.8319, allocations: 0.716 MB / 1.532 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009456/0.8328, allocations: 349.8 kB / 1.532 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.8339, allocations: 384.1 kB / 1.532 GB, free: 9.945 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/0.834, allocations: 24 kB / 1.532 GB, free: 9.922 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.47e-05/0.834, allocations: 12 kB / 1.532 GB, free: 9.91 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/0.834, allocations: 11.95 kB / 1.532 GB, free: 9.898 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/0.84, allocations: 3.62 MB / 1.536 GB, free: 6.227 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/0.84, allocations: 8 kB / 1.536 GB, free: 6.219 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/0.8426, allocations: 411.4 kB / 1.536 GB, free: 5.816 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/0.8531, allocations: 2.868 MB / 1.539 GB, free: 2.941 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004725/0.8536, allocations: 51.97 kB / 1.539 GB, free: 2.891 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04302/0.8966, allocations: 18.64 MB / 1.557 GB, free: 15.95 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8966, allocations: 192 / 1.557 GB, free: 15.95 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01992/0.9165, allocations: 6.104 MB / 1.563 GB, free: 9.812 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/0.9186, allocations: 0.7212 MB / 1.564 GB, free: 9.07 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/0.9196, allocations: 51.92 kB / 1.564 GB, free: 9.02 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/0.9233, allocations: 311.6 kB / 1.564 GB, free: 8.715 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001434/0.9248, allocations: 350.7 kB / 1.565 GB, free: 8.371 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003688/0.9251, allocations: 75.95 kB / 1.565 GB, free: 8.297 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003283/0.9284, allocations: 1.532 MB / 1.566 GB, free: 6.766 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.9284, allocations: 0 / 1.566 GB, free: 6.766 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003986/0.9324, allocations: 1.039 MB / 1.567 GB, free: 5.727 MB / 1.264 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.02022/0.9526, allocations: 6.749 MB / 1.574 GB, free: 14.95 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02502/0.9776, allocations: 6.316 MB / 1.58 GB, free: 8.531 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.9776, allocations: 4 kB / 1.58 GB, free: 8.527 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/0.9962, allocations: 3.923 MB / 1.584 GB, free: 4.566 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/1.002, allocations: 1.134 MB / 1.585 GB, free: 3.469 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7518/1.754, allocations: 31.8 MB / 1.616 GB, free: 234.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/1.756, allocations: 2.229 MB / 1.618 GB, free: 233.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002136/1.758, allocations: 0.5014 MB / 1.619 GB, free: 233.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.76, allocations: 1.34 MB / 1.62 GB, free: 233.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.603e-06/1.76, allocations: 0 / 1.62 GB, free: 233.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1471/1.907, allocations: 103.3 MB / 1.721 GB, free: 159.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.29/21.2, allocations: 10.78 kB / 1.721 GB, free: 159.4 MB / 1.295 GB " [Timeout remaining time 279] (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/jenkins1/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: 28.07175935502164]