Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001144/0.001144, allocations: 105.7 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.001133/0.001133, 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.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.32 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.344/2.344, 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.Resistance,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.89 kB / 1.059 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2569, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005169/0.2621, allocations: 3.179 MB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2645, allocations: 1.391 MB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.2646, allocations: 7.938 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.2657, allocations: 350.7 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.2661, allocations: 143.2 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.2665, allocations: 139.4 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.2669, allocations: 302.9 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.2673, allocations: 176.5 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.2675, allocations: 119.5 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.2678, allocations: 147.5 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.2678, allocations: 20 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.2681, allocations: 179.5 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2682, allocations: 83.73 kB / 1.222 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2684, allocations: 111.5 kB / 1.222 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.2688, allocations: 330.8 kB / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2688, allocations: 0 / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2688, allocations: 3.984 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.2688, allocations: 7.938 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008095/0.2696, allocations: 0.5203 MB / 1.223 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2697, allocations: 8.031 kB / 1.223 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.037e-05/0.2697, allocations: 54.72 kB / 1.223 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005493/0.2703, allocations: 76.73 kB / 1.223 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.2707, allocations: 248 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2707, allocations: 12.75 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.2707, allocations: 16.38 kB / 1.223 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.2713, allocations: 307.2 kB / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2713, allocations: 0 / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.2713, allocations: 11.98 kB / 1.223 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.2714, allocations: 24.31 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.2717, allocations: 200.6 kB / 1.223 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2733, allocations: 1.456 MB / 1.225 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.2736, allocations: 167.7 kB / 1.225 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.2736, allocations: 33 kB / 1.225 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2736, allocations: 7.984 kB / 1.225 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.2737, allocations: 30.56 kB / 1.225 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2737, allocations: 0 / 1.225 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004799/0.2742, allocations: 235.5 kB / 1.225 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.2742, allocations: 51.41 kB / 1.225 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.2744, allocations: 199.3 kB / 1.226 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2744, allocations: 33.7 kB / 1.226 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2745, allocations: 168 kB / 1.226 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2746, allocations: 31.73 kB / 1.226 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.2746, allocations: 29.72 kB / 1.226 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2748, allocations: 326.8 kB / 1.226 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.2749, allocations: 31.98 kB / 1.226 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.275, allocations: 108.4 kB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.2752, allocations: 148.4 kB / 1.226 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2752, allocations: 0 / 1.226 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003197/0.2755, allocations: 190.3 kB / 1.227 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2755, allocations: 10.03 kB / 1.227 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2755, allocations: 4.156 kB / 1.227 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.2757, allocations: 28.78 kB / 1.227 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2758, allocations: 31.92 kB / 1.227 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.2772, allocations: 1.426 MB / 1.228 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2773, allocations: 23.84 kB / 1.228 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2773, allocations: 4.156 kB / 1.228 GB, free: 2.461 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.2774, allocations: 157.7 kB / 1.228 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.2775, allocations: 11.95 kB / 1.228 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.2775, allocations: 13.41 kB / 1.228 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2775, allocations: 0 / 1.228 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2775, allocations: 0 / 1.228 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2775, allocations: 3.938 kB / 1.228 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.2781, allocations: 447.2 kB / 1.229 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2781, allocations: 3.938 kB / 1.229 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.2781, allocations: 8 kB / 1.229 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-05/0.2782, allocations: 24.83 kB / 1.229 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2782, allocations: 0 / 1.229 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.2793, allocations: 1.429 MB / 1.23 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2793, allocations: 4 kB / 1.23 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2795, allocations: 212.4 kB / 1.23 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2797, allocations: 97 kB / 1.23 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.2797, allocations: 4 kB / 1.23 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2798, allocations: 0 / 1.23 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.2798, allocations: 15.92 kB / 1.23 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.2798, allocations: 4 kB / 1.23 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001799/0.28, allocations: 139.2 kB / 1.231 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.28, allocations: 0 / 1.231 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000314/0.2803, allocations: 55.89 kB / 1.231 GB, free: 15.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005856/0.2809, allocations: 0.7444 MB / 1.231 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.2813, allocations: 203.2 kB / 1.232 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2813, allocations: 0 / 1.232 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.2814, allocations: 146.6 kB / 1.232 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2818, allocations: 40.19 kB / 1.232 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.2844, allocations: 2.048 MB / 1.234 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2848, allocations: 0.7513 MB / 1.234 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.449e-05/0.2849, allocations: 25.53 kB / 1.234 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.2849, allocations: 51.42 kB / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.2849, allocations: 0 / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.314, allocations: 3.731 MB / 1.238 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/9.001, allocations: 4.609 kB / 1.238 GB, free: 7.773 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.I in file Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv. Warning: Get data of variable sen.I from file Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.232125057998928]