Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.508/2.508, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.89 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7562, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02321/0.7794, allocations: 23.48 MB / 1.294 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.808, allocations: 18.14 MB / 1.312 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.8113, allocations: 115.7 kB / 1.312 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.011/0.8223, allocations: 4.319 MB / 1.316 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.8338, allocations: 3.591 MB / 1.32 GB, free: 6.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.8378, allocations: 1.33 MB / 1.321 GB, free: 6.043 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008914/0.8467, allocations: 5.768 MB / 1.327 GB, free: 3.348 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005047/0.8517, allocations: 2.461 MB / 1.329 GB, free: 1.996 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.8567, allocations: 2.482 MB / 1.332 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005456/0.8621, allocations: 2.512 MB / 1.334 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001545/0.8637, allocations: 369.2 kB / 1.334 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.8672, allocations: 1.059 MB / 1.335 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.8695, allocations: 1.224 MB / 1.337 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004869/0.8743, allocations: 1.994 MB / 1.339 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00952/0.8839, allocations: 5.181 MB / 1.344 GB, free: 11.85 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8839, allocations: 4.5 kB / 1.344 GB, free: 11.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8839, allocations: 0 / 1.344 GB, free: 11.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001483/0.884, allocations: 1.031 kB / 1.344 GB, free: 11.84 MB / 1.045 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.0114/0.8954, allocations: 4.725 MB / 1.348 GB, free: 8.602 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8955, allocations: 9.5 kB / 1.348 GB, free: 8.602 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005271/0.896, allocations: 364.4 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.9113, allocations: 3.285 MB / 1.352 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.9157, allocations: 2.25 MB / 1.354 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/0.9161, allocations: 470.3 kB / 1.355 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005148/0.9167, allocations: 232.5 kB / 1.355 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.9269, allocations: 4.813 MB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/0.9269, allocations: 5.094 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.9273, allocations: 101.9 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.9275, allocations: 172.1 kB / 1.36 GB, free: 1.762 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.9408, allocations: 5.194 MB / 1.365 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02212/0.9629, allocations: 14.42 MB / 1.379 GB, free: 2.648 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00952/0.9724, allocations: 3.27 MB / 1.382 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003493/0.9759, allocations: 1.369 MB / 1.383 GB, free: 296 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.9761, allocations: 25.2 kB / 1.383 GB, free: 284 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004155/0.9802, allocations: 1.795 MB / 1.385 GB, free: 14.94 MB / 1.076 GB Notification: Performance of pre-optimization done (n=163): time 3.867e-06/0.9802, allocations: 4 kB / 1.385 GB, free: 14.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=250): time 0.1231/1.103, allocations: 28.22 MB / 1.413 GB, free: 2.496 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002636/1.104, allocations: 496.7 kB / 1.413 GB, free: 1.902 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/1.107, allocations: 2.296 MB / 1.415 GB, free: 15.59 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004397/1.108, allocations: 77.7 kB / 1.416 GB, free: 15.51 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/1.109, allocations: 1.46 MB / 1.417 GB, free: 14.04 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.11, allocations: 0.8598 MB / 1.418 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/1.111, allocations: 424.5 kB / 1.418 GB, free: 12.75 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.111, allocations: 301.1 kB / 1.418 GB, free: 12.45 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00534/1.117, allocations: 1.929 MB / 1.42 GB, free: 10.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005586/1.122, allocations: 2.235 MB / 1.423 GB, free: 8.199 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.133, allocations: 4.154 MB / 1.427 GB, free: 3.91 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.133, allocations: 4 kB / 1.427 GB, free: 3.906 MB / 1.107 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01879/1.152, allocations: 6.479 MB / 1.433 GB, free: 13.33 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.152, allocations: 144.5 kB / 1.433 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.152, allocations: 8 kB / 1.433 GB, free: 13.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/1.162, allocations: 2.926 MB / 1.436 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/1.165, allocations: 491.2 kB / 1.436 GB, free: 9.738 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04057/1.206, allocations: 18.85 MB / 1.455 GB, free: 6.637 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/1.21, allocations: 319.6 kB / 1.455 GB, free: 6.324 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/1.21, allocations: 88.17 kB / 1.455 GB, free: 6.238 MB / 1.139 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.001848/1.212, allocations: 0.7144 MB / 1.456 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/1.213, allocations: 353.8 kB / 1.456 GB, free: 5.164 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009341/1.214, allocations: 384.1 kB / 1.457 GB, free: 4.781 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/1.214, allocations: 24 kB / 1.457 GB, free: 4.758 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/1.214, allocations: 12 kB / 1.457 GB, free: 4.746 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/1.214, allocations: 11.95 kB / 1.457 GB, free: 4.734 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/1.22, allocations: 3.636 MB / 1.46 GB, free: 1.043 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.22, allocations: 0 / 1.46 GB, free: 1.043 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.222, allocations: 419.3 kB / 1.461 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009769/1.232, allocations: 2.865 MB / 1.463 GB, free: 13.76 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000463/1.232, allocations: 51.97 kB / 1.463 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03903/1.271, allocations: 18.63 MB / 1.482 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.271, allocations: 4 kB / 1.482 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/1.289, allocations: 6.116 MB / 1.488 GB, free: 4.629 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.291, allocations: 0.7135 MB / 1.488 GB, free: 3.895 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008247/1.292, allocations: 47.94 kB / 1.488 GB, free: 3.848 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/1.295, allocations: 311.6 kB / 1.489 GB, free: 3.543 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/1.296, allocations: 358.7 kB / 1.489 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002265/1.297, allocations: 67.97 kB / 1.489 GB, free: 3.125 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002478/1.299, allocations: 1.536 MB / 1.491 GB, free: 1.59 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.299, allocations: 0 / 1.491 GB, free: 1.59 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003034/1.302, allocations: 1.039 MB / 1.492 GB, free: 0.5508 MB / 1.17 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.01814/1.32, allocations: 6.753 MB / 1.498 GB, free: 9.762 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0226/1.343, allocations: 6.317 MB / 1.504 GB, free: 3.348 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.343, allocations: 0 / 1.504 GB, free: 3.348 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01656/1.359, allocations: 3.927 MB / 1.508 GB, free: 15.39 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/1.365, allocations: 1.13 MB / 1.509 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07271/1.437, allocations: 31.85 MB / 1.54 GB, free: 13.98 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/1.44, allocations: 2.231 MB / 1.543 GB, free: 11.71 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002279/1.442, allocations: 0.5138 MB / 1.543 GB, free: 11.19 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/1.444, allocations: 1.347 MB / 1.544 GB, free: 9.844 MB / 1.232 GB Notification: Performance of SimCode: time 9.12e-07/1.444, allocations: 0 / 1.544 GB, free: 9.844 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/1.617, allocations: 104.3 MB / 1.646 GB, free: 2.594 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/18.76, allocations: 10.56 kB / 1.646 GB, free: 2.586 MB / 1.326 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable Sloads from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! Error: Could not read variable E.S[1] in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable E.S[1] from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.22334180100006]