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.001817/0.001817, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002268/0.002268, allocations: 211.2 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.797 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.222/3.222, allocations: 0.4893 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] 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.002038/0.002038, allocations: 72.02 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02904/0.3707, allocations: 21.26 MB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02889/0.3996, allocations: 16.85 MB / 1.362 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004209/0.4038, allocations: 174.6 kB / 1.362 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.4158, allocations: 4.162 MB / 1.367 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.4291, allocations: 3.591 MB / 1.37 GB, free: 4.152 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.4335, allocations: 1.316 MB / 1.371 GB, free: 2.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.4436, allocations: 5.783 MB / 1.377 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005548/0.4491, allocations: 2.83 MB / 1.38 GB, free: 10.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.4547, allocations: 2.827 MB / 1.383 GB, free: 7.293 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004563/0.4593, allocations: 2.147 MB / 1.385 GB, free: 5.137 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.4607, allocations: 364 kB / 1.385 GB, free: 4.781 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.4636, allocations: 0.9554 MB / 1.386 GB, free: 3.824 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.4655, allocations: 1.207 MB / 1.387 GB, free: 2.613 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.4692, allocations: 1.641 MB / 1.389 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008434/0.4776, allocations: 5.195 MB / 1.394 GB, free: 11.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4776, allocations: 0 / 1.394 GB, free: 11.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4776, allocations: 4 kB / 1.394 GB, free: 11.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002031/0.4778, allocations: 0 / 1.394 GB, free: 11.75 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.01318/0.491, allocations: 4.643 MB / 1.398 GB, free: 7.004 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4911, allocations: 8.031 kB / 1.398 GB, free: 6.996 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001102/0.4922, allocations: 358.3 kB / 1.399 GB, free: 6.637 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/0.5088, allocations: 3.279 MB / 1.402 GB, free: 3.352 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/0.5151, allocations: 2.155 MB / 1.404 GB, free: 1.121 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005665/0.5157, allocations: 474 kB / 1.404 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.5168, allocations: 232 kB / 1.405 GB, free: 376 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.5307, allocations: 5.366 MB / 1.41 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-05/0.5308, allocations: 4 kB / 1.41 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007432/0.5315, allocations: 99.97 kB / 1.41 GB, free: 10.64 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.5318, allocations: 176.8 kB / 1.41 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.5473, allocations: 5.198 MB / 1.415 GB, free: 5.254 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.5719, allocations: 9.17 MB / 1.424 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.5822, allocations: 3.246 MB / 1.427 GB, free: 8.688 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/0.5862, allocations: 1.369 MB / 1.429 GB, free: 7.32 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.5863, allocations: 21.3 kB / 1.429 GB, free: 7.301 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005174/0.5915, allocations: 2.448 MB / 1.431 GB, free: 4.625 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 4.97e-06/0.5915, allocations: 0 / 1.431 GB, free: 4.625 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1333/0.7248, allocations: 27.55 MB / 1.458 GB, free: 9.023 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003126/0.7251, allocations: 0.4889 MB / 1.458 GB, free: 8.426 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/0.7295, allocations: 2.32 MB / 1.461 GB, free: 6.094 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005369/0.73, allocations: 77.7 kB / 1.461 GB, free: 6.012 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.7317, allocations: 1.46 MB / 1.462 GB, free: 4.539 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.733, allocations: 0.8559 MB / 1.463 GB, free: 3.676 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.7344, allocations: 416.5 kB / 1.463 GB, free: 3.262 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7345, allocations: 305.1 kB / 1.464 GB, free: 2.961 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005878/0.7404, allocations: 2.066 MB / 1.466 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006622/0.747, allocations: 2.774 MB / 1.468 GB, free: 13.87 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.7591, allocations: 4.158 MB / 1.473 GB, free: 9.578 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.7591, allocations: 4 kB / 1.473 GB, free: 9.574 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02182/0.7809, allocations: 6.619 MB / 1.479 GB, free: 2.836 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.7811, allocations: 148.5 kB / 1.479 GB, free: 2.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.7812, allocations: 4 kB / 1.479 GB, free: 2.656 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/0.7923, allocations: 2.928 MB / 1.482 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.7954, allocations: 479.2 kB / 1.482 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04657/0.8419, allocations: 18.3 MB / 1.5 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/0.8464, allocations: 323.6 kB / 1.501 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000621/0.847, allocations: 91.97 kB / 1.501 GB, free: 12.34 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.002175/0.8492, allocations: 0.7029 MB / 1.501 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.8503, allocations: 349.9 kB / 1.502 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.8513, allocations: 388.1 kB / 1.502 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.8514, allocations: 28 kB / 1.502 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-05/0.8514, allocations: 11.94 kB / 1.502 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.8514, allocations: 11.95 kB / 1.502 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00614/0.8576, allocations: 3.039 MB / 1.505 GB, free: 7.762 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/0.8576, allocations: 0 / 1.505 GB, free: 7.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/0.8603, allocations: 419.3 kB / 1.506 GB, free: 7.352 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01056/0.8708, allocations: 2.855 MB / 1.508 GB, free: 4.488 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005739/0.8714, allocations: 55.95 kB / 1.508 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0443/0.9157, allocations: 18.06 MB / 1.526 GB, free: 2.125 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9157, allocations: 0 / 1.526 GB, free: 2.125 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/0.937, allocations: 6.124 MB / 1.532 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003164/0.9401, allocations: 0.6304 MB / 1.533 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/0.9418, allocations: 51.88 kB / 1.533 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004252/0.946, allocations: 315.6 kB / 1.533 GB, free: 10.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/0.9475, allocations: 370.4 kB / 1.533 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/0.9478, allocations: 67.97 kB / 1.533 GB, free: 10.55 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003419/0.9513, allocations: 1.536 MB / 1.535 GB, free: 9.016 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9513, allocations: 0 / 1.535 GB, free: 9.016 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004528/0.9558, allocations: 1.043 MB / 1.536 GB, free: 7.973 MB / 1.232 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.0214/0.9772, allocations: 6.745 MB / 1.542 GB, free: 1.184 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02479/1.002, allocations: 6.47 MB / 1.549 GB, free: 10.59 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.002, allocations: 0 / 1.549 GB, free: 10.59 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01845/1.02, allocations: 3.927 MB / 1.553 GB, free: 6.629 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006256/1.027, allocations: 1.132 MB / 1.554 GB, free: 5.539 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08996/1.117, allocations: 32.39 MB / 1.585 GB, free: 4.559 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/1.12, allocations: 1.684 MB / 1.587 GB, free: 2.832 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003027/1.123, allocations: 0.5019 MB / 1.588 GB, free: 2.324 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/1.126, allocations: 1.339 MB / 1.589 GB, free: 0.9844 MB / 1.279 GB Notification: Performance of SimCode: time 1.714e-06/1.126, allocations: 0 / 1.589 GB, free: 0.9844 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8356/1.961, allocations: 107.2 MB / 1.693 GB, free: 208.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/20.18, allocations: 11.48 kB / 1.693 GB, free: 208.2 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: 27.222731001209468]