Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.005068/0.005067, allocations: 98.48 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.001084/0.001084, allocations: 194 kB / 16.67 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.63/2.63, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.002031, allocations: 63.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2929, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.6399/0.9328, allocations: 37.27 MB / 1.256 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.9526, allocations: 13.7 MB / 1.27 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004168/0.9568, allocations: 116 kB / 1.27 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005596/0.9625, allocations: 2.286 MB / 1.272 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.9668, allocations: 1.452 MB / 1.273 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009776/0.9766, allocations: 3.524 MB / 1.277 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009579/0.9862, allocations: 6.397 MB / 1.283 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01461/1.001, allocations: 9.888 MB / 1.293 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/1.006, allocations: 2.765 MB / 1.295 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00649/1.012, allocations: 3.199 MB / 1.298 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00225/1.015, allocations: 0.6233 MB / 1.299 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/1.019, allocations: 1.258 MB / 1.3 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005077/1.024, allocations: 2.478 MB / 1.303 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006813/1.031, allocations: 2.546 MB / 1.305 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.046, allocations: 9.184 MB / 1.314 GB, free: 9.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.046, allocations: 0 / 1.314 GB, free: 9.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.146e-06/1.046, allocations: 1.5 kB / 1.314 GB, free: 9.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003782/1.047, allocations: 0 / 1.314 GB, free: 9.148 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01745/1.064, allocations: 4.409 MB / 1.318 GB, free: 6.617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/1.064, allocations: 9.562 kB / 1.318 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003363/1.068, allocations: 0.6386 MB / 1.319 GB, free: 6.164 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007049/1.075, allocations: 1.056 MB / 1.32 GB, free: 5.625 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007164/1.082, allocations: 2.234 MB / 1.322 GB, free: 4.203 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/1.082, allocations: 325.4 kB / 1.323 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/1.085, allocations: 431 kB / 1.323 GB, free: 3.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/1.107, allocations: 7.414 MB / 1.33 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/1.107, allocations: 7.875 kB / 1.33 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001979/1.109, allocations: 178.5 kB / 1.33 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004745/1.11, allocations: 292.5 kB / 1.331 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/1.125, allocations: 6.023 MB / 1.337 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05142/1.176, allocations: 32.51 MB / 1.368 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/1.18, allocations: 2.134 MB / 1.37 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/1.182, allocations: 1.248 MB / 1.372 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/1.182, allocations: 102.1 kB / 1.372 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.182, allocations: 47.55 kB / 1.372 GB, free: 10.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=98): time 2.665e-06/1.182, allocations: 0 / 1.372 GB, free: 10.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=101): time 0.009842/1.192, allocations: 5.44 MB / 1.377 GB, free: 4.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/1.192, allocations: 141.5 kB / 1.377 GB, free: 4.496 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.194, allocations: 1.476 MB / 1.379 GB, free: 3.008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.195, allocations: 45.7 kB / 1.379 GB, free: 2.957 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/1.196, allocations: 1.921 MB / 1.381 GB, free: 1.016 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/1.196, allocations: 396.7 kB / 1.381 GB, free: 0.625 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008117/1.197, allocations: 467.4 kB / 1.381 GB, free: 164 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.197, allocations: 305.1 kB / 1.382 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/1.199, allocations: 1.149 MB / 1.383 GB, free: 14.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/1.202, allocations: 2.211 MB / 1.385 GB, free: 11.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004617/1.206, allocations: 3.434 MB / 1.388 GB, free: 8.055 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-05/1.206, allocations: 8 kB / 1.388 GB, free: 8.047 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005873/1.212, allocations: 3.375 MB / 1.392 GB, free: 4.664 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/1.212, allocations: 23.94 kB / 1.392 GB, free: 4.641 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.775e-05/1.212, allocations: 32.09 kB / 1.392 GB, free: 4.609 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.816e-05/1.212, allocations: 55.94 kB / 1.392 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/1.215, allocations: 0.6317 MB / 1.392 GB, free: 3.922 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.611e-05/1.215, allocations: 71.72 kB / 1.392 GB, free: 3.852 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.217, allocations: 327.1 kB / 1.393 GB, free: 3.531 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/1.218, allocations: 112 kB / 1.393 GB, free: 3.422 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0045/1.222, allocations: 2.436 MB / 1.395 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0026/1.225, allocations: 2.043 MB / 1.397 GB, free: 14.4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00395/1.229, allocations: 3.064 MB / 1.4 GB, free: 10.85 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.853e-05/1.229, allocations: 12 kB / 1.4 GB, free: 10.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005015/1.234, allocations: 2.984 MB / 1.403 GB, free: 7.844 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/1.234, allocations: 22.53 kB / 1.403 GB, free: 7.824 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/1.234, allocations: 36 kB / 1.403 GB, free: 7.789 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.757e-05/1.234, allocations: 56.12 kB / 1.403 GB, free: 7.734 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/1.236, allocations: 0.5614 MB / 1.404 GB, free: 7.172 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.457e-05/1.236, allocations: 75.66 kB / 1.404 GB, free: 7.098 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/1.238, allocations: 271.3 kB / 1.404 GB, free: 6.832 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.238, allocations: 112 kB / 1.404 GB, free: 6.723 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005889/1.239, allocations: 336.7 kB / 1.405 GB, free: 6.387 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/1.24, allocations: 167 kB / 1.405 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/1.243, allocations: 2.246 MB / 1.407 GB, free: 3.961 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/1.243, allocations: 15.94 kB / 1.407 GB, free: 3.945 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.243, allocations: 0 / 1.407 GB, free: 3.945 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.243, allocations: 11.97 kB / 1.407 GB, free: 3.934 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/1.26, allocations: 10.98 MB / 1.418 GB, free: 8.699 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/1.261, allocations: 12 kB / 1.418 GB, free: 8.688 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.262, allocations: 391.3 kB / 1.418 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.992e-05/1.262, allocations: 16 kB / 1.418 GB, free: 8.289 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/1.262, allocations: 32 kB / 1.418 GB, free: 8.258 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.768e-05/1.262, allocations: 27.98 kB / 1.418 GB, free: 8.23 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.262, allocations: 15.94 kB / 1.418 GB, free: 8.215 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/1.266, allocations: 2.768 MB / 1.421 GB, free: 5.285 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.267, allocations: 463.6 kB / 1.421 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/1.268, allocations: 35.98 kB / 1.421 GB, free: 4.777 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.269, allocations: 179.7 kB / 1.422 GB, free: 4.602 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/1.27, allocations: 100.2 kB / 1.422 GB, free: 4.504 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.452e-05/1.27, allocations: 43.94 kB / 1.422 GB, free: 4.461 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00187/1.272, allocations: 1.005 MB / 1.423 GB, free: 3.457 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.11e-07/1.272, allocations: 0 / 1.423 GB, free: 3.457 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005188/1.277, allocations: 1.133 MB / 1.424 GB, free: 2.324 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003746/1.281, allocations: 3.349 MB / 1.427 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006409/1.287, allocations: 4.07 MB / 1.431 GB, free: 10.75 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.287, allocations: 0 / 1.431 GB, free: 10.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.289, allocations: 1.067 MB / 1.432 GB, free: 9.68 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/1.292, allocations: 460.2 kB / 1.432 GB, free: 9.266 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/1.33, allocations: 21.93 MB / 1.454 GB, free: 1.875 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005185/1.335, allocations: 2.864 MB / 1.457 GB, free: 14.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003436/1.338, allocations: 1.227 MB / 1.458 GB, free: 13.75 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/1.341, allocations: 1.276 MB / 1.459 GB, free: 12.47 MB / 1.154 GB Notification: Performance of SimCode: time 1.152e-06/1.341, allocations: 0 / 1.459 GB, free: 12.47 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08019/1.421, allocations: 47.76 MB / 1.506 GB, free: 13.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.877/11.3, allocations: 9.688 kB / 1.506 GB, free: 13.11 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches