Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001175/0.001175, 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.001386/0.001386, 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.91 kB / 1.059 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2641, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02617/0.2903, allocations: 23.47 MB / 1.238 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.3163, allocations: 18.14 MB / 1.256 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/0.3189, allocations: 107.4 kB / 1.256 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.3295, allocations: 4.326 MB / 1.261 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5304/0.8599, allocations: 3.575 MB / 1.264 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.8628, allocations: 1.325 MB / 1.265 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006784/0.8696, allocations: 5.779 MB / 1.271 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.8731, allocations: 2.462 MB / 1.273 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/0.8778, allocations: 2.482 MB / 1.276 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/0.8828, allocations: 2.505 MB / 1.278 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008649/0.8836, allocations: 369 kB / 1.279 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.8862, allocations: 1.056 MB / 1.28 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.8875, allocations: 1.222 MB / 1.281 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.8902, allocations: 1.995 MB / 1.283 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006074/0.8963, allocations: 5.192 MB / 1.288 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8963, allocations: 0.7969 kB / 1.288 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8963, allocations: 5.438 kB / 1.288 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001058/0.8964, allocations: 0 / 1.288 GB, free: 6.844 MB / 0.9981 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.009565/0.906, allocations: 4.718 MB / 1.292 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.906, allocations: 9.219 kB / 1.292 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004754/0.9065, allocations: 363.6 kB / 1.293 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.9219, allocations: 3.286 MB / 1.296 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/0.927, allocations: 2.242 MB / 1.298 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.9274, allocations: 473.2 kB / 1.299 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005461/0.9279, allocations: 243.4 kB / 1.299 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.938, allocations: 4.809 MB / 1.304 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/0.938, allocations: 1.312 kB / 1.304 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.9384, allocations: 110.5 kB / 1.304 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.9386, allocations: 173 kB / 1.304 GB, free: 2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.9514, allocations: 5.192 MB / 1.309 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02183/0.9732, allocations: 14.52 MB / 1.323 GB, free: 6.891 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009225/0.9824, allocations: 3.254 MB / 1.326 GB, free: 5.859 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003528/0.986, allocations: 1.377 MB / 1.328 GB, free: 5.156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.9861, allocations: 24.75 kB / 1.328 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004236/0.9903, allocations: 1.792 MB / 1.329 GB, free: 4.039 MB / 1.014 GB Notification: Performance of pre-optimization done (n=163): time 5.49e-06/0.9903, allocations: 0 / 1.329 GB, free: 4.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=250): time 0.1219/1.112, allocations: 28.22 MB / 1.357 GB, free: 4.891 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002865/1.113, allocations: 0.4928 MB / 1.357 GB, free: 4.289 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/1.116, allocations: 2.3 MB / 1.36 GB, free: 1.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/1.116, allocations: 77.7 kB / 1.36 GB, free: 1.895 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.118, allocations: 1.455 MB / 1.361 GB, free: 440 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008324/1.118, allocations: 0.8625 MB / 1.362 GB, free: 15.58 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009216/1.119, allocations: 424.5 kB / 1.362 GB, free: 15.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.119, allocations: 301.1 kB / 1.363 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005194/1.125, allocations: 1.929 MB / 1.365 GB, free: 12.93 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0054/1.13, allocations: 2.23 MB / 1.367 GB, free: 10.61 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.141, allocations: 4.157 MB / 1.371 GB, free: 6.344 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.141, allocations: 4 kB / 1.371 GB, free: 6.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01808/1.159, allocations: 6.474 MB / 1.377 GB, free: 15.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.159, allocations: 152.8 kB / 1.377 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.159, allocations: 8 kB / 1.377 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009692/1.168, allocations: 2.928 MB / 1.38 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/1.171, allocations: 489.5 kB / 1.381 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03856/1.21, allocations: 18.85 MB / 1.399 GB, free: 9.277 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/1.214, allocations: 323.6 kB / 1.399 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.214, allocations: 83.98 kB / 1.399 GB, free: 8.879 MB / 1.076 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.001561/1.215, allocations: 0.7137 MB / 1.4 GB, free: 8.176 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005741/1.216, allocations: 353.8 kB / 1.4 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/1.217, allocations: 384.1 kB / 1.401 GB, free: 7.445 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.217, allocations: 24 kB / 1.401 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/1.217, allocations: 8 kB / 1.401 GB, free: 7.414 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/1.217, allocations: 11.95 kB / 1.401 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/1.222, allocations: 3.625 MB / 1.404 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.222, allocations: 4 kB / 1.404 GB, free: 3.777 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/1.224, allocations: 409.3 kB / 1.405 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009498/1.233, allocations: 2.868 MB / 1.408 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002706/1.234, allocations: 51.97 kB / 1.408 GB, free: 472 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03875/1.272, allocations: 18.64 MB / 1.426 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.272, allocations: 0.875 kB / 1.426 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.29, allocations: 6.114 MB / 1.432 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.292, allocations: 0.7096 MB / 1.433 GB, free: 6.777 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005565/1.293, allocations: 51.92 kB / 1.433 GB, free: 6.727 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.296, allocations: 311.6 kB / 1.433 GB, free: 6.422 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001177/1.297, allocations: 354.7 kB / 1.433 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.297, allocations: 71.16 kB / 1.433 GB, free: 6.008 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002331/1.3, allocations: 1.54 MB / 1.435 GB, free: 4.469 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.3, allocations: 4 kB / 1.435 GB, free: 4.465 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002791/1.302, allocations: 1.043 MB / 1.436 GB, free: 3.422 MB / 1.107 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.01821/1.321, allocations: 6.745 MB / 1.442 GB, free: 12.71 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02324/1.344, allocations: 6.311 MB / 1.449 GB, free: 6.305 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.344, allocations: 4 kB / 1.449 GB, free: 6.301 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01698/1.361, allocations: 3.935 MB / 1.452 GB, free: 2.336 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/1.366, allocations: 1.135 MB / 1.454 GB, free: 1.242 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07143/1.437, allocations: 31.83 MB / 1.485 GB, free: 0.957 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.439, allocations: 2.227 MB / 1.487 GB, free: 14.7 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002093/1.441, allocations: 0.5138 MB / 1.487 GB, free: 14.18 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/1.443, allocations: 1.339 MB / 1.489 GB, free: 12.84 MB / 1.17 GB Notification: Performance of SimCode: time 9.82e-07/1.443, allocations: 0 / 1.489 GB, free: 12.84 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/1.617, allocations: 104.3 MB / 1.59 GB, free: 5.723 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/18.81, allocations: 7.188 kB / 1.59 GB, free: 5.719 MB / 1.264 GB " [Timeout remaining time 281] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable Sloads from file Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! Error: Could not read variable E.S[1] in file Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable E.S[1] from file Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.15973495000071]