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 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.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.008226/0.008226, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.002239/0.002239, allocations: 196.8 kB / 16.68 MB, free: 5.973 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 55.91 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2788, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.5475/0.8264, allocations: 14.76 MB / 1.256 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.8395, allocations: 10.36 MB / 1.266 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.841, allocations: 57.53 kB / 1.266 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.845, allocations: 1.685 MB / 1.268 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.8501, allocations: 1.81 MB / 1.269 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.8521, allocations: 0.7609 MB / 1.27 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.8561, allocations: 2.754 MB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.8583, allocations: 1.41 MB / 1.274 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.8609, allocations: 1.494 MB / 1.276 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.8632, allocations: 1.176 MB / 1.277 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.8637, allocations: 160.5 kB / 1.277 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.8657, allocations: 0.7851 MB / 1.278 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009896/0.8667, allocations: 0.6037 MB / 1.278 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.8686, allocations: 0.9514 MB / 1.279 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.8734, allocations: 2.779 MB / 1.282 GB, free: 11.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8735, allocations: 1.344 kB / 1.282 GB, free: 11.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8735, allocations: 7.938 kB / 1.282 GB, free: 11.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.04e-05/0.8736, allocations: 0.6094 kB / 1.282 GB, free: 11.83 MB / 1.014 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.005006/0.8786, allocations: 2.223 MB / 1.284 GB, free: 10.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.8786, allocations: 9.344 kB / 1.284 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/0.8789, allocations: 189 kB / 1.284 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.8911, allocations: 2.127 MB / 1.286 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.8942, allocations: 1.315 MB / 1.288 GB, free: 9.426 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-05/0.8943, allocations: 85.7 kB / 1.288 GB, free: 9.387 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.8947, allocations: 123.4 kB / 1.288 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00627/0.901, allocations: 2.665 MB / 1.291 GB, free: 8.273 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.901, allocations: 10.73 kB / 1.291 GB, free: 8.266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.9012, allocations: 54.09 kB / 1.291 GB, free: 8.227 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006578/0.9019, allocations: 195.4 kB / 1.291 GB, free: 8.207 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008227/0.9101, allocations: 2.793 MB / 1.294 GB, free: 7.488 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.9261, allocations: 10.47 MB / 1.304 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007204/0.9333, allocations: 2.34 MB / 1.306 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.9368, allocations: 1.282 MB / 1.307 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.9369, allocations: 17.47 kB / 1.307 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.937, allocations: 49.17 kB / 1.307 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.937, allocations: 1.062 kB / 1.307 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=153): time 0.06351/1.001, allocations: 16.51 MB / 1.323 GB, free: 8.566 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.001, allocations: 75.34 kB / 1.324 GB, free: 8.492 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/1.003, allocations: 1.174 MB / 1.325 GB, free: 7.852 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000259/1.003, allocations: 51.02 kB / 1.325 GB, free: 7.801 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/1.003, allocations: 0.749 MB / 1.325 GB, free: 7.137 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006552/1.004, allocations: 0.5435 MB / 1.326 GB, free: 6.652 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006687/1.005, allocations: 292.4 kB / 1.326 GB, free: 6.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.005, allocations: 309.1 kB / 1.327 GB, free: 6.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003934/1.009, allocations: 1.503 MB / 1.328 GB, free: 5.406 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/1.013, allocations: 1.784 MB / 1.33 GB, free: 4.305 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008095/1.021, allocations: 3.366 MB / 1.333 GB, free: 2.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.021, allocations: 8.438 kB / 1.333 GB, free: 2.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01496/1.036, allocations: 5.287 MB / 1.338 GB, free: 15.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.036, allocations: 7.75 kB / 1.338 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.036, allocations: 6.531 kB / 1.338 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007121/1.043, allocations: 1.879 MB / 1.34 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/1.045, allocations: 416.5 kB / 1.341 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03149/1.077, allocations: 24.16 MB / 1.364 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/1.08, allocations: 307.5 kB / 1.364 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.08, allocations: 71.95 kB / 1.364 GB, free: 8.73 MB / 1.061 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.001175/1.082, allocations: 465.4 kB / 1.365 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/1.082, allocations: 182.9 kB / 1.365 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.097, allocations: 5.325 MB / 1.37 GB, free: 2.711 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/1.097, allocations: 12 kB / 1.37 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.429e-05/1.097, allocations: 20 kB / 1.37 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/1.097, allocations: 11.91 kB / 1.37 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.117, allocations: 7.419 MB / 1.378 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.117, allocations: 4.344 kB / 1.378 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.119, allocations: 355.4 kB / 1.378 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006298/1.125, allocations: 1.708 MB / 1.38 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/1.125, allocations: 43.97 kB / 1.38 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02974/1.155, allocations: 23.32 MB / 1.402 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/1.155, allocations: 7.938 kB / 1.402 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.169, allocations: 4.904 MB / 1.407 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.17, allocations: 0.4919 MB / 1.408 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/1.171, allocations: 31.98 kB / 1.408 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/1.173, allocations: 319.5 kB / 1.408 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005523/1.174, allocations: 156.9 kB / 1.408 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.174, allocations: 51.97 kB / 1.408 GB, free: 10.5 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001237/1.175, allocations: 0.7938 MB / 1.409 GB, free: 9.711 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/1.175, allocations: 0 / 1.409 GB, free: 9.711 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00234/1.178, allocations: 0.6562 MB / 1.41 GB, free: 9.055 MB / 1.107 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.01367/1.192, allocations: 5.476 MB / 1.415 GB, free: 3.488 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.204, allocations: 5.167 MB / 1.42 GB, free: 14.22 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.204, allocations: 0 / 1.42 GB, free: 14.22 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007809/1.212, allocations: 3.366 MB / 1.423 GB, free: 10.75 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/1.215, allocations: 0.553 MB / 1.424 GB, free: 10.21 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05061/1.266, allocations: 21.91 MB / 1.445 GB, free: 3.805 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.268, allocations: 1.568 MB / 1.447 GB, free: 2.199 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001627/1.269, allocations: 390.4 kB / 1.447 GB, free: 1.812 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.27, allocations: 0.6554 MB / 1.448 GB, free: 1.156 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/1.27, allocations: 0 / 1.448 GB, free: 1.156 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.39, allocations: 58.75 MB / 1.505 GB, free: 7.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.75/21.14, allocations: 10.92 kB / 1.505 GB, free: 7.086 MB / 1.201 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 400 --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