Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006692/0.006692, allocations: 100.1 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 199.8 kB / 16.68 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7501, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006846/0.757, allocations: 6.162 MB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004833/0.7619, allocations: 3.174 MB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.7623, allocations: 33.47 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.7647, allocations: 0.9265 MB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.7657, allocations: 496.5 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.767, allocations: 0.4971 MB / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.7682, allocations: 1.106 MB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009158/0.7691, allocations: 0.6331 MB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.7698, allocations: 442.5 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006215/0.7704, allocations: 478.6 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.7705, allocations: 58.31 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009568/0.7715, allocations: 490.2 kB / 1.102 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.7718, allocations: 291 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.7722, allocations: 397 kB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.7739, allocations: 1.194 MB / 1.103 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.774, allocations: 0 / 1.103 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.963e-06/0.774, allocations: 0.6094 kB / 1.103 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.774, allocations: 3.938 kB / 1.103 GB, free: 11.75 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001747/0.7757, allocations: 1.079 MB / 1.104 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7758, allocations: 9.328 kB / 1.104 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.7759, allocations: 121.7 kB / 1.105 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.7775, allocations: 223.6 kB / 1.105 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.7785, allocations: 0.6006 MB / 1.105 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.7785, allocations: 50.55 kB / 1.105 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.7787, allocations: 57.86 kB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.7801, allocations: 1.037 MB / 1.107 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.7801, allocations: 7.609 kB / 1.107 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.7802, allocations: 28.38 kB / 1.107 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-05/0.7803, allocations: 66.22 kB / 1.107 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.7814, allocations: 0.6943 MB / 1.107 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/0.7867, allocations: 5.733 MB / 1.113 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.7876, allocations: 0.591 MB / 1.113 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.7884, allocations: 435.8 kB / 1.114 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.7885, allocations: 9.531 kB / 1.114 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7885, allocations: 35.84 kB / 1.114 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.7885, allocations: 9.125 kB / 1.114 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.004514/0.793, allocations: 2.025 MB / 1.116 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.7931, allocations: 61.78 kB / 1.116 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.7936, allocations: 459 kB / 1.116 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.7936, allocations: 32.33 kB / 1.116 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.7939, allocations: 398 kB / 1.117 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.794, allocations: 156.2 kB / 1.117 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.7942, allocations: 112.4 kB / 1.117 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.7943, allocations: 368.9 kB / 1.117 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.7947, allocations: 243.6 kB / 1.118 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.7952, allocations: 451.3 kB / 1.118 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/0.7961, allocations: 0.7519 MB / 1.119 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.7962, allocations: 2.344 kB / 1.119 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001848/0.798, allocations: 1.043 MB / 1.12 GB, free: 396 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.798, allocations: 12.56 kB / 1.12 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.7981, allocations: 11.3 kB / 1.12 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.7991, allocations: 318.7 kB / 1.12 GB, free: 288 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.7994, allocations: 97.88 kB / 1.12 GB, free: 276 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006829/0.8062, allocations: 7.474 MB / 1.128 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.8067, allocations: 32.81 kB / 1.128 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.8068, allocations: 25.42 kB / 1.128 GB, free: 9.875 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003475/0.8071, allocations: 245.4 kB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.8072, allocations: 65.34 kB / 1.128 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.8089, allocations: 0.8946 MB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8089, allocations: 5 kB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8089, allocations: 4.156 kB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.8089, allocations: 2.203 kB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.8116, allocations: 1.693 MB / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8116, allocations: 1.797 kB / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.8118, allocations: 42.92 kB / 1.13 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/0.8127, allocations: 308.8 kB / 1.131 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.8128, allocations: 16.34 kB / 1.131 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006675/0.8195, allocations: 7.457 MB / 1.138 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8195, allocations: 10.56 kB / 1.138 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.8212, allocations: 0.9925 MB / 1.139 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.8215, allocations: 179.7 kB / 1.139 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.8215, allocations: 11.41 kB / 1.139 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.8218, allocations: 28.08 kB / 1.139 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.8219, allocations: 39.86 kB / 1.139 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.822, allocations: 8.844 kB / 1.139 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003566/0.8223, allocations: 315.5 kB / 1.14 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8223, allocations: 0 / 1.14 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008202/0.8232, allocations: 194 kB / 1.14 GB, free: 1.066 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00185/0.825, allocations: 1.544 MB / 1.141 GB, free: 8 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.8269, allocations: 1.198 MB / 1.142 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8269, allocations: 1.188 kB / 1.142 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.8281, allocations: 0.8617 MB / 1.143 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.8291, allocations: 208.4 kB / 1.144 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/0.837, allocations: 5.892 MB / 1.149 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.8376, allocations: 0.9915 MB / 1.15 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.8379, allocations: 100.3 kB / 1.15 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.8381, allocations: 228.4 kB / 1.151 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.8382, allocations: 0 / 1.151 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04389/0.8821, allocations: 15.38 MB / 1.166 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.682/10.56, allocations: 9.75 kB / 1.166 GB, free: 4.777 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches