Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_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.007301/0.007301, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.002063/0.002063, allocations: 196.4 kB / 16.68 MB, free: 5.961 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 63.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2727, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01667/0.2894, allocations: 14.05 MB / 1.234 GB, free: 180 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.3032, allocations: 9.403 MB / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008757/0.3042, allocations: 63.56 kB / 1.243 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.3082, allocations: 1.669 MB / 1.245 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.312, allocations: 1.543 MB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.3138, allocations: 0.756 MB / 1.247 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003089/0.3169, allocations: 2.512 MB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5011/0.818, allocations: 1.4 MB / 1.251 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.8198, allocations: 1.047 MB / 1.252 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.8214, allocations: 1.141 MB / 1.253 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.8217, allocations: 164.5 kB / 1.253 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.8231, allocations: 0.7908 MB / 1.254 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004961/0.8236, allocations: 0.6221 MB / 1.254 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007683/0.8243, allocations: 0.9408 MB / 1.255 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.8268, allocations: 2.761 MB / 1.258 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8268, allocations: 2.781 kB / 1.258 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8268, allocations: 7.75 kB / 1.258 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.148e-05/0.8269, allocations: 0 / 1.258 GB, free: 7.551 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003306/0.8302, allocations: 2.187 MB / 1.26 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.8302, allocations: 11.16 kB / 1.26 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.8304, allocations: 193.6 kB / 1.26 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.8419, allocations: 2.095 MB / 1.262 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.8442, allocations: 1.301 MB / 1.264 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.8443, allocations: 92.05 kB / 1.264 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.8446, allocations: 126.8 kB / 1.264 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.8504, allocations: 2.676 MB / 1.267 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.8505, allocations: 8.875 kB / 1.267 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.8507, allocations: 54.62 kB / 1.267 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006595/0.8514, allocations: 178.9 kB / 1.267 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008218/0.8596, allocations: 2.799 MB / 1.27 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.8722, allocations: 10.48 MB / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.8793, allocations: 2.524 MB / 1.282 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/0.8825, allocations: 1.287 MB / 1.284 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.8826, allocations: 13.06 kB / 1.284 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.8827, allocations: 44.47 kB / 1.284 GB, free: 15.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 4.889e-06/0.8827, allocations: 0 / 1.284 GB, free: 15.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.04752/0.9302, allocations: 13.4 MB / 1.297 GB, free: 12.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.9303, allocations: 65.19 kB / 1.297 GB, free: 12.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.9318, allocations: 1.123 MB / 1.298 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.932, allocations: 45.27 kB / 1.298 GB, free: 11.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.9326, allocations: 0.7263 MB / 1.299 GB, free: 11.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000458/0.933, allocations: 471.1 kB / 1.299 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/0.9336, allocations: 266.8 kB / 1.299 GB, free: 10.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9338, allocations: 362.5 kB / 1.3 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/0.9373, allocations: 1.334 MB / 1.301 GB, free: 9.992 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003608/0.9409, allocations: 1.604 MB / 1.302 GB, free: 9.324 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/0.948, allocations: 2.994 MB / 1.305 GB, free: 8.164 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.948, allocations: 6.344 kB / 1.305 GB, free: 8.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01216/0.9602, allocations: 4.453 MB / 1.31 GB, free: 5.836 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.9602, allocations: 11 kB / 1.31 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.9602, allocations: 6.25 kB / 1.31 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005426/0.9657, allocations: 1.429 MB / 1.311 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.9679, allocations: 440.6 kB / 1.312 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02879/0.9967, allocations: 26.7 MB / 1.338 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/0.9995, allocations: 302.2 kB / 1.338 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.9997, allocations: 66.44 kB / 1.338 GB, free: 12.88 MB / 1.045 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.0008534/1.001, allocations: 442.3 kB / 1.338 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/1.001, allocations: 172.8 kB / 1.339 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.013, allocations: 4.452 MB / 1.343 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.013, allocations: 13.16 kB / 1.343 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/1.013, allocations: 12.88 kB / 1.343 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.013, allocations: 9 kB / 1.343 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.028, allocations: 6.764 MB / 1.35 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.029, allocations: 2.375 kB / 1.35 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.03, allocations: 379.2 kB / 1.35 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004771/1.035, allocations: 1.303 MB / 1.351 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.035, allocations: 46.55 kB / 1.351 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02624/1.062, allocations: 25.51 MB / 1.376 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.062, allocations: 5.969 kB / 1.376 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/1.073, allocations: 4.215 MB / 1.38 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.074, allocations: 467.8 kB / 1.381 GB, free: 7.891 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/1.075, allocations: 24 kB / 1.381 GB, free: 7.867 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.077, allocations: 303.5 kB / 1.381 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/1.077, allocations: 128.2 kB / 1.381 GB, free: 7.449 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.077, allocations: 51.95 kB / 1.381 GB, free: 7.398 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001076/1.078, allocations: 0.7526 MB / 1.382 GB, free: 6.645 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.078, allocations: 0 / 1.382 GB, free: 6.645 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001969/1.08, allocations: 0.5664 MB / 1.383 GB, free: 6.078 MB / 1.076 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.01162/1.092, allocations: 4.792 MB / 1.387 GB, free: 1.246 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.104, allocations: 5.151 MB / 1.392 GB, free: 11.96 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.104, allocations: 4 kB / 1.392 GB, free: 11.96 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00735/1.111, allocations: 3.501 MB / 1.396 GB, free: 8.312 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.114, allocations: 0.5499 MB / 1.396 GB, free: 7.785 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04414/1.158, allocations: 19.43 MB / 1.415 GB, free: 4.105 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.159, allocations: 1.473 MB / 1.417 GB, free: 2.598 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001545/1.161, allocations: 421.6 kB / 1.417 GB, free: 2.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009517/1.162, allocations: 0.6281 MB / 1.418 GB, free: 1.551 MB / 1.107 GB Notification: Performance of SimCode: time 7.72e-07/1.162, allocations: 0 / 1.418 GB, free: 1.551 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/1.285, allocations: 51.7 MB / 1.468 GB, free: 14.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/19.33, allocations: 10.39 kB / 1.468 GB, free: 14.62 MB / 1.17 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches