Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_11_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.007691/0.007691, allocations: 97.62 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.001926/0.001926, allocations: 202 kB / 16.68 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.362/1.362, 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 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002804, allocations: 63.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3172, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.6163/0.9336, allocations: 37.27 MB / 1.257 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.9529, allocations: 13.7 MB / 1.27 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003605/0.9566, allocations: 117.4 kB / 1.27 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005253/0.9619, allocations: 2.281 MB / 1.272 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.9659, allocations: 1.43 MB / 1.274 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008687/0.9746, allocations: 3.509 MB / 1.277 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008488/0.9831, allocations: 6.393 MB / 1.283 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.9941, allocations: 9.884 MB / 1.293 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004991/0.9991, allocations: 2.734 MB / 1.296 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006518/1.006, allocations: 3.21 MB / 1.299 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00227/1.008, allocations: 0.6209 MB / 1.299 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/1.012, allocations: 1.258 MB / 1.301 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004231/1.016, allocations: 2.476 MB / 1.303 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005665/1.022, allocations: 2.55 MB / 1.306 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/1.035, allocations: 9.184 MB / 1.315 GB, free: 8.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.035, allocations: 3.938 kB / 1.315 GB, free: 8.621 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.204e-06/1.035, allocations: 0 / 1.315 GB, free: 8.621 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002621/1.036, allocations: 5.094 kB / 1.315 GB, free: 8.617 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.01252/1.048, allocations: 4.402 MB / 1.319 GB, free: 6.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.048, allocations: 8.875 kB / 1.319 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001334/1.05, allocations: 0.6401 MB / 1.319 GB, free: 5.602 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005048/1.055, allocations: 1.055 MB / 1.32 GB, free: 5.062 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/1.059, allocations: 2.235 MB / 1.323 GB, free: 3.641 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/1.06, allocations: 329.6 kB / 1.323 GB, free: 3.488 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/1.061, allocations: 422.7 kB / 1.323 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/1.078, allocations: 7.409 MB / 1.331 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/1.079, allocations: 13.34 kB / 1.331 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/1.08, allocations: 182.7 kB / 1.331 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004364/1.08, allocations: 288.3 kB / 1.331 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/1.093, allocations: 6.023 MB / 1.337 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04542/1.139, allocations: 32.51 MB / 1.369 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/1.143, allocations: 2.142 MB / 1.371 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/1.145, allocations: 1.245 MB / 1.372 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/1.145, allocations: 106.1 kB / 1.372 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.145, allocations: 55.44 kB / 1.372 GB, free: 9.578 MB / 1.061 GB Notification: Performance of pre-optimization done (n=98): time 3.236e-06/1.145, allocations: 0 / 1.372 GB, free: 9.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=101): time 0.01116/1.156, allocations: 5.44 MB / 1.377 GB, free: 4.109 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.156, allocations: 141.5 kB / 1.378 GB, free: 3.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/1.159, allocations: 1.472 MB / 1.379 GB, free: 2.457 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/1.159, allocations: 41.7 kB / 1.379 GB, free: 2.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.161, allocations: 1.937 MB / 1.381 GB, free: 464 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/1.161, allocations: 388.8 kB / 1.381 GB, free: 72 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000917/1.162, allocations: 467.5 kB / 1.382 GB, free: 15.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.162, allocations: 301.1 kB / 1.382 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/1.164, allocations: 1.149 MB / 1.383 GB, free: 14.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002896/1.167, allocations: 2.211 MB / 1.385 GB, free: 11.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0049/1.172, allocations: 3.438 MB / 1.389 GB, free: 7.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-05/1.172, allocations: 8 kB / 1.389 GB, free: 7.492 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005867/1.178, allocations: 3.383 MB / 1.392 GB, free: 4.102 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/1.178, allocations: 20 kB / 1.392 GB, free: 4.082 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.087e-05/1.178, allocations: 32 kB / 1.392 GB, free: 4.051 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.557e-05/1.178, allocations: 51.94 kB / 1.392 GB, free: 4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/1.18, allocations: 0.6281 MB / 1.393 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.779e-05/1.18, allocations: 71.78 kB / 1.393 GB, free: 3.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/1.183, allocations: 323 kB / 1.393 GB, free: 2.984 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/1.183, allocations: 119.9 kB / 1.393 GB, free: 2.867 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004548/1.187, allocations: 2.436 MB / 1.396 GB, free: 432 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002592/1.19, allocations: 2.039 MB / 1.398 GB, free: 13.85 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004043/1.194, allocations: 3.064 MB / 1.401 GB, free: 10.29 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.719e-05/1.194, allocations: 16 kB / 1.401 GB, free: 10.28 MB / 1.092 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00528/1.199, allocations: 2.985 MB / 1.404 GB, free: 7.285 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.199, allocations: 20 kB / 1.404 GB, free: 7.266 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/1.2, allocations: 36 kB / 1.404 GB, free: 7.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.544e-05/1.2, allocations: 51.94 kB / 1.404 GB, free: 7.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/1.202, allocations: 0.5615 MB / 1.404 GB, free: 6.617 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.79e-05/1.202, allocations: 75.66 kB / 1.404 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/1.204, allocations: 275.4 kB / 1.405 GB, free: 6.273 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/1.204, allocations: 112 kB / 1.405 GB, free: 6.164 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.0005679/1.204, allocations: 331.3 kB / 1.405 GB, free: 5.832 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/1.205, allocations: 163 kB / 1.405 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/1.209, allocations: 2.25 MB / 1.407 GB, free: 3.406 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.209, allocations: 15.94 kB / 1.407 GB, free: 3.391 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.209, allocations: 0 / 1.407 GB, free: 3.391 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/1.209, allocations: 7.984 kB / 1.407 GB, free: 3.383 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.225, allocations: 11 MB / 1.418 GB, free: 8.137 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/1.225, allocations: 12 kB / 1.418 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.227, allocations: 388.2 kB / 1.418 GB, free: 7.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.227, allocations: 20 kB / 1.418 GB, free: 7.727 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.227, allocations: 39.98 kB / 1.419 GB, free: 7.688 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/1.227, allocations: 19.94 kB / 1.419 GB, free: 7.668 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-05/1.227, allocations: 15.94 kB / 1.419 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/1.231, allocations: 2.764 MB / 1.421 GB, free: 4.727 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009202/1.232, allocations: 459.7 kB / 1.422 GB, free: 4.258 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/1.232, allocations: 39.98 kB / 1.422 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.233, allocations: 171.7 kB / 1.422 GB, free: 4.051 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/1.234, allocations: 92.23 kB / 1.422 GB, free: 3.961 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/1.234, allocations: 43.94 kB / 1.422 GB, free: 3.918 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001751/1.236, allocations: 1.013 MB / 1.423 GB, free: 2.906 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.236, allocations: 0 / 1.423 GB, free: 2.906 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004103/1.24, allocations: 1.133 MB / 1.424 GB, free: 1.773 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.00403/1.244, allocations: 3.349 MB / 1.427 GB, free: 14.25 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006889/1.251, allocations: 4.075 MB / 1.431 GB, free: 10.19 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.251, allocations: 0 / 1.431 GB, free: 10.19 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.252, allocations: 1.059 MB / 1.432 GB, free: 9.133 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.255, allocations: 456.4 kB / 1.433 GB, free: 8.719 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03651/1.291, allocations: 21.93 MB / 1.454 GB, free: 1.336 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/1.295, allocations: 2.872 MB / 1.457 GB, free: 14.43 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003019/1.298, allocations: 1.227 MB / 1.458 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/1.3, allocations: 1.269 MB / 1.459 GB, free: 11.93 MB / 1.154 GB Notification: Performance of SimCode: time 7.71e-07/1.3, allocations: 0 / 1.459 GB, free: 11.93 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09391/1.394, allocations: 47.76 MB / 1.506 GB, free: 12.59 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.84, allocations: 4.438 kB / 1.506 GB, free: 12.59 MB / 1.201 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches