Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001523/0.001523, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 66.22 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2878, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01626/0.3041, allocations: 14.79 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.3187, allocations: 10.36 MB / 1.088 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.3201, allocations: 55.62 kB / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004301/0.3245, allocations: 1.685 MB / 1.09 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.3295, allocations: 1.818 MB / 1.092 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.3314, allocations: 0.7623 MB / 1.092 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003465/0.3349, allocations: 2.739 MB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.337, allocations: 1.415 MB / 1.097 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.3391, allocations: 1.5 MB / 1.098 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.341, allocations: 1.167 MB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004896/0.3415, allocations: 160 kB / 1.099 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.3433, allocations: 0.7877 MB / 1.1 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.3441, allocations: 0.5998 MB / 1.101 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.3456, allocations: 0.9561 MB / 1.102 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/0.3493, allocations: 2.726 MB / 1.104 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.3493, allocations: 0 / 1.104 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3493, allocations: 3.938 kB / 1.104 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001056/0.3494, allocations: 0 / 1.104 GB, free: 4.801 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004788/0.3542, allocations: 2.178 MB / 1.106 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3543, allocations: 8.031 kB / 1.106 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003514/0.3546, allocations: 194.4 kB / 1.107 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.3665, allocations: 2.112 MB / 1.109 GB, free: 248 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.3689, allocations: 1.202 MB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/0.369, allocations: 94.67 kB / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.3693, allocations: 119.9 kB / 1.11 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005732/0.3751, allocations: 2.67 MB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.3751, allocations: 11.84 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.3753, allocations: 55.98 kB / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006684/0.376, allocations: 190.1 kB / 1.113 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007784/0.3838, allocations: 2.795 MB / 1.116 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.3987, allocations: 10.51 MB / 1.126 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006748/0.4055, allocations: 2.332 MB / 1.128 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003152/0.4087, allocations: 1.276 MB / 1.129 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/0.4088, allocations: 20.98 kB / 1.129 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4088, allocations: 39.56 kB / 1.129 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/0.4088, allocations: 3.938 kB / 1.129 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153): time 0.06189/0.4707, allocations: 16.48 MB / 1.146 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4708, allocations: 68.72 kB / 1.146 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.4724, allocations: 1.176 MB / 1.147 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.4725, allocations: 53.7 kB / 1.147 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.473, allocations: 0.7397 MB / 1.147 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/0.4735, allocations: 0.5276 MB / 1.148 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005609/0.4741, allocations: 283.5 kB / 1.148 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.4742, allocations: 305.1 kB / 1.149 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/0.4778, allocations: 1.51 MB / 1.15 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.4815, allocations: 1.773 MB / 1.152 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00751/0.4891, allocations: 3.373 MB / 1.155 GB, free: 15.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.4891, allocations: 4 kB / 1.155 GB, free: 15.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01368/0.5028, allocations: 5.28 MB / 1.16 GB, free: 10.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.5028, allocations: 8 kB / 1.16 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.5028, allocations: 11.98 kB / 1.16 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006997/0.5098, allocations: 1.894 MB / 1.162 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.5118, allocations: 411.3 kB / 1.162 GB, free: 7.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02851/0.5403, allocations: 24.16 MB / 1.186 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.543, allocations: 307.6 kB / 1.186 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.5432, allocations: 71.91 kB / 1.186 GB, free: 14.12 MB / 0.9512 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008685/0.5441, allocations: 453.5 kB / 1.187 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.5445, allocations: 178.4 kB / 1.187 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.5585, allocations: 5.324 MB / 1.192 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5585, allocations: 16 kB / 1.192 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.511e-05/0.5586, allocations: 24 kB / 1.192 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.5586, allocations: 11.97 kB / 1.192 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.575, allocations: 7.429 MB / 1.2 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5751, allocations: 4 kB / 1.2 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.5768, allocations: 351.4 kB / 1.2 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006083/0.5829, allocations: 1.716 MB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.583, allocations: 43.91 kB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02705/0.6101, allocations: 23.31 MB / 1.224 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.6101, allocations: 7.984 kB / 1.224 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.6226, allocations: 4.885 MB / 1.229 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/0.6235, allocations: 498.7 kB / 1.23 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.6239, allocations: 28 kB / 1.23 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/0.6261, allocations: 323.5 kB / 1.23 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004768/0.6266, allocations: 145 kB / 1.23 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.6268, allocations: 63.95 kB / 1.23 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001011/0.6278, allocations: 0.786 MB / 1.231 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6278, allocations: 0 / 1.231 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001883/0.6297, allocations: 0.6562 MB / 1.232 GB, free: 14.48 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01242/0.6421, allocations: 5.488 MB / 1.237 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0118/0.6539, allocations: 5.425 MB / 1.242 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.654, allocations: 3.938 kB / 1.242 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4373/1.091, allocations: 3.346 MB / 1.245 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.094, allocations: 0.556 MB / 1.246 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04679/1.141, allocations: 22.97 MB / 1.268 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/1.142, allocations: 1.567 MB / 1.27 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001899/1.144, allocations: 381.7 kB / 1.27 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/1.145, allocations: 0.6574 MB / 1.271 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.145, allocations: 3.906 kB / 1.271 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/1.293, allocations: 58.34 MB / 1.328 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.62, allocations: 21.67 kB / 1.328 GB, free: 127.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches