Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001603/0.001603, allocations: 108 kB / 15.61 MB, free: 152 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.001894/0.001894, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 58.56 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2707, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01544/0.2862, allocations: 14.05 MB / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.2999, allocations: 9.391 MB / 1.087 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.3017, allocations: 59.62 kB / 1.087 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.3059, allocations: 1.673 MB / 1.088 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.3104, allocations: 1.549 MB / 1.09 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.3124, allocations: 0.7554 MB / 1.091 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.3153, allocations: 2.505 MB / 1.093 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.317, allocations: 1.411 MB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.3184, allocations: 1.043 MB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.3198, allocations: 1.136 MB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.32, allocations: 164 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.3215, allocations: 0.7916 MB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.322, allocations: 0.6232 MB / 1.098 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008606/0.3229, allocations: 0.9407 MB / 1.099 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.3254, allocations: 2.722 MB / 1.102 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3254, allocations: 4 kB / 1.102 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3254, allocations: 4 kB / 1.102 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.3255, allocations: 4 kB / 1.102 GB, free: 7.5 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.003655/0.3291, allocations: 2.135 MB / 1.104 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3292, allocations: 12.03 kB / 1.104 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.3294, allocations: 194.4 kB / 1.104 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.3414, allocations: 2.085 MB / 1.106 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.3439, allocations: 1.201 MB / 1.107 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.344, allocations: 86.73 kB / 1.107 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.3442, allocations: 127.8 kB / 1.107 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.3499, allocations: 2.682 MB / 1.11 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.3499, allocations: 7.938 kB / 1.11 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.3501, allocations: 51.98 kB / 1.11 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006629/0.3508, allocations: 182.1 kB / 1.11 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007776/0.3586, allocations: 2.791 MB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.3734, allocations: 10.51 MB / 1.123 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007287/0.3807, allocations: 2.526 MB / 1.126 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/0.384, allocations: 1.288 MB / 1.127 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.3841, allocations: 9 kB / 1.127 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3841, allocations: 43.56 kB / 1.127 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.484e-06/0.3842, allocations: 0 / 1.127 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.04788/0.432, allocations: 13.35 MB / 1.14 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4321, allocations: 72.7 kB / 1.14 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.4335, allocations: 1.121 MB / 1.141 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.4337, allocations: 45.7 kB / 1.141 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.4342, allocations: 0.7195 MB / 1.142 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/0.4346, allocations: 449.4 kB / 1.142 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/0.4351, allocations: 267.4 kB / 1.143 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4352, allocations: 357.9 kB / 1.143 GB, free: 12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/0.4386, allocations: 1.346 MB / 1.144 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.4422, allocations: 1.604 MB / 1.146 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006995/0.4492, allocations: 2.983 MB / 1.149 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4492, allocations: 4 kB / 1.149 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01174/0.461, allocations: 4.447 MB / 1.153 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.461, allocations: 8 kB / 1.153 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.461, allocations: 8.031 kB / 1.153 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005372/0.4664, allocations: 1.443 MB / 1.154 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.4686, allocations: 443.2 kB / 1.155 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02713/0.4957, allocations: 26.69 MB / 1.181 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.4984, allocations: 315.5 kB / 1.181 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.4986, allocations: 59.97 kB / 1.181 GB, free: 2.543 MB / 0.9356 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008486/0.4995, allocations: 437.5 kB / 1.182 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.4999, allocations: 162 kB / 1.182 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.512, allocations: 4.445 MB / 1.186 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.5121, allocations: 12.11 kB / 1.186 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.962e-05/0.5121, allocations: 19.94 kB / 1.186 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.5121, allocations: 7.969 kB / 1.186 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.5281, allocations: 6.778 MB / 1.193 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.5281, allocations: 7.984 kB / 1.193 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/0.53, allocations: 379.3 kB / 1.193 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004903/0.5349, allocations: 1.314 MB / 1.195 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.5351, allocations: 43.95 kB / 1.195 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.026/0.5611, allocations: 25.5 MB / 1.219 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5612, allocations: 4 kB / 1.219 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/0.5725, allocations: 4.204 MB / 1.224 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/0.5734, allocations: 462.8 kB / 1.224 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/0.5738, allocations: 24 kB / 1.224 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/0.5761, allocations: 315.5 kB / 1.224 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.5765, allocations: 120.7 kB / 1.224 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.5766, allocations: 56.42 kB / 1.224 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001081/0.5777, allocations: 0.7487 MB / 1.225 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5777, allocations: 0 / 1.225 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002065/0.5798, allocations: 0.5703 MB / 1.226 GB, free: 2.762 MB / 0.9825 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/0.5915, allocations: 4.793 MB / 1.23 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01239/0.6039, allocations: 5.525 MB / 1.236 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.6039, allocations: 0 / 1.236 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007172/0.6111, allocations: 3.491 MB / 1.239 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.6137, allocations: 0.5523 MB / 1.24 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5053/1.119, allocations: 20.31 MB / 1.26 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.12, allocations: 1.475 MB / 1.261 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001937/1.122, allocations: 423.9 kB / 1.261 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008449/1.123, allocations: 0.6329 MB / 1.262 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.123, allocations: 0 / 1.262 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/1.225, allocations: 51.3 MB / 1.312 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.45, allocations: 14.31 kB / 1.312 GB, free: 138.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches