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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004642/0.004642, allocations: 98.06 kB / 15.73 MB, free: 6.012 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.00128/0.001281, allocations: 197 kB / 16.68 MB, free: 5.93 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 482.4 MB / 0.7548 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.08 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01681/0.3021, allocations: 14.06 MB / 1.255 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.3161, allocations: 9.383 MB / 1.264 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009749/0.3171, allocations: 59.62 kB / 1.264 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.3212, allocations: 1.664 MB / 1.266 GB, free: 36 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.3251, allocations: 1.546 MB / 1.268 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.3268, allocations: 0.7523 MB / 1.268 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002887/0.3297, allocations: 2.516 MB / 1.271 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.3314, allocations: 1.407 MB / 1.272 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.3327, allocations: 1.043 MB / 1.273 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.3341, allocations: 1.148 MB / 1.274 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.3344, allocations: 164 kB / 1.274 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.3358, allocations: 0.7916 MB / 1.275 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005675/0.3364, allocations: 0.6115 MB / 1.276 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009222/0.3373, allocations: 0.9446 MB / 1.277 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.3402, allocations: 2.767 MB / 1.279 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3402, allocations: 0 / 1.279 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3402, allocations: 3.938 kB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.499e-05/0.3402, allocations: 0 / 1.279 GB, free: 2.27 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.003726/0.344, allocations: 2.197 MB / 1.282 GB, free: 16 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.344, allocations: 12.03 kB / 1.282 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002457/0.3443, allocations: 190.4 kB / 1.282 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.3561, allocations: 2.098 MB / 1.284 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.3589, allocations: 1.303 MB / 1.285 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/0.359, allocations: 90.73 kB / 1.285 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.3593, allocations: 123.9 kB / 1.285 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006057/0.3653, allocations: 2.675 MB / 1.288 GB, free: 9.312 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.3654, allocations: 7.938 kB / 1.288 GB, free: 9.305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.3656, allocations: 59.92 kB / 1.288 GB, free: 9.246 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006439/0.3662, allocations: 178.1 kB / 1.288 GB, free: 9.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007862/0.3741, allocations: 2.799 MB / 1.291 GB, free: 6.262 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.389, allocations: 10.48 MB / 1.301 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.3962, allocations: 2.525 MB / 1.304 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/0.3995, allocations: 1.288 MB / 1.305 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.3996, allocations: 13 kB / 1.305 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3996, allocations: 47.56 kB / 1.305 GB, free: 7.246 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.3996, allocations: 0 / 1.305 GB, free: 7.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.04789/0.4475, allocations: 13.38 MB / 1.318 GB, free: 9.648 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.4476, allocations: 68.72 kB / 1.318 GB, free: 9.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.4492, allocations: 1.121 MB / 1.319 GB, free: 8.434 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.4494, allocations: 45.7 kB / 1.319 GB, free: 8.383 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.4499, allocations: 0.7287 MB / 1.32 GB, free: 7.648 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.4504, allocations: 479.8 kB / 1.32 GB, free: 7.176 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/0.451, allocations: 259.5 kB / 1.321 GB, free: 6.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4512, allocations: 369.9 kB / 1.321 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/0.4547, allocations: 1.343 MB / 1.322 GB, free: 5.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/0.4585, allocations: 1.596 MB / 1.324 GB, free: 3.508 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007335/0.4658, allocations: 2.994 MB / 1.327 GB, free: 428 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4659, allocations: 0 / 1.327 GB, free: 428 kB / 1.045 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01215/0.478, allocations: 4.455 MB / 1.331 GB, free: 11.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.4781, allocations: 8 kB / 1.331 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.4781, allocations: 8 kB / 1.331 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005296/0.4834, allocations: 1.435 MB / 1.332 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.4856, allocations: 427.3 kB / 1.333 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02902/0.5147, allocations: 26.7 MB / 1.359 GB, free: 13.47 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.5173, allocations: 311.3 kB / 1.359 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/0.5176, allocations: 63.97 kB / 1.359 GB, free: 13.1 MB / 1.092 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.00086/0.5184, allocations: 441.5 kB / 1.36 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.5188, allocations: 170.9 kB / 1.36 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.5311, allocations: 4.453 MB / 1.364 GB, free: 7.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.5312, allocations: 12 kB / 1.364 GB, free: 7.977 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.701e-05/0.5312, allocations: 16 kB / 1.364 GB, free: 7.961 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.5312, allocations: 3.984 kB / 1.364 GB, free: 7.957 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.5471, allocations: 6.771 MB / 1.371 GB, free: 1.02 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.5471, allocations: 4 kB / 1.371 GB, free: 1.016 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/0.5491, allocations: 379.3 kB / 1.371 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004839/0.5539, allocations: 1.303 MB / 1.373 GB, free: 15.3 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.5542, allocations: 39.97 kB / 1.373 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02658/0.5807, allocations: 25.51 MB / 1.397 GB, free: 3.934 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5808, allocations: 0.5625 kB / 1.397 GB, free: 3.934 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.5923, allocations: 4.218 MB / 1.402 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/0.5932, allocations: 467.8 kB / 1.402 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.5936, allocations: 24 kB / 1.402 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/0.5959, allocations: 315.5 kB / 1.402 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.5964, allocations: 120.7 kB / 1.402 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.5966, allocations: 59.91 kB / 1.403 GB, free: 14.63 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00116/0.5977, allocations: 0.7487 MB / 1.403 GB, free: 13.88 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5977, allocations: 0 / 1.403 GB, free: 13.88 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002085/0.5998, allocations: 0.5703 MB / 1.404 GB, free: 13.31 MB / 1.139 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.01167/0.6115, allocations: 4.81 MB / 1.409 GB, free: 8.395 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01174/0.6233, allocations: 5.138 MB / 1.414 GB, free: 3.086 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.6233, allocations: 0 / 1.414 GB, free: 3.086 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007321/0.6306, allocations: 3.503 MB / 1.417 GB, free: 15.41 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.6333, allocations: 0.5546 MB / 1.417 GB, free: 14.87 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0435/0.6769, allocations: 19.41 MB / 1.436 GB, free: 11.01 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.6783, allocations: 1.481 MB / 1.438 GB, free: 9.5 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001496/0.6798, allocations: 417.6 kB / 1.438 GB, free: 9.086 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009854/0.6808, allocations: 0.6359 MB / 1.439 GB, free: 8.453 MB / 1.17 GB Notification: Performance of SimCode: time 4.61e-07/0.6808, allocations: 0 / 1.439 GB, free: 8.453 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/0.8021, allocations: 51.67 MB / 1.489 GB, free: 5.43 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.15/18.95, allocations: 10.47 kB / 1.489 GB, free: 5.422 MB / 1.217 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 400 --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