Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.007665/0.007665, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001875/0.001875, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.765/2.765, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.12 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02327/0.3232, allocations: 20.43 MB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3359, allocations: 7.701 MB / 1.247 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.338, allocations: 63.75 kB / 1.247 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.3417, allocations: 1.348 MB / 1.249 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.3443, allocations: 1.019 MB / 1.25 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6202/0.9645, allocations: 1.984 MB / 1.252 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005221/0.9698, allocations: 4.337 MB / 1.256 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006802/0.9766, allocations: 6.161 MB / 1.262 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.9801, allocations: 1.867 MB / 1.264 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.9842, allocations: 2.202 MB / 1.266 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001615/0.9859, allocations: 427.6 kB / 1.266 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.9886, allocations: 0.9439 MB / 1.267 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002474/0.9911, allocations: 1.654 MB / 1.269 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00306/0.9942, allocations: 1.715 MB / 1.27 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009099/1.003, allocations: 6.202 MB / 1.276 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.003, allocations: 1.125 kB / 1.276 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.003, allocations: 0 / 1.276 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001978/1.004, allocations: 0 / 1.276 GB, free: 7.387 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01013/1.014, allocations: 3.108 MB / 1.279 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.014, allocations: 13.84 kB / 1.279 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008475/1.015, allocations: 456.7 kB / 1.28 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00382/1.018, allocations: 0.7583 MB / 1.281 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/1.022, allocations: 1.58 MB / 1.282 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/1.022, allocations: 216.2 kB / 1.282 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005362/1.022, allocations: 283.7 kB / 1.283 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/1.033, allocations: 5.085 MB / 1.288 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.448e-05/1.033, allocations: 10.25 kB / 1.288 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/1.033, allocations: 122.4 kB / 1.288 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000281/1.033, allocations: 213 kB / 1.288 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008752/1.042, allocations: 4.219 MB / 1.292 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03461/1.077, allocations: 22.96 MB / 1.315 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/1.08, allocations: 1.73 MB / 1.316 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/1.082, allocations: 1.152 MB / 1.317 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/1.082, allocations: 99.58 kB / 1.317 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/1.082, allocations: 39.47 kB / 1.317 GB, free: 13.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=84): time 3.175e-06/1.082, allocations: 4 kB / 1.317 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=87): time 0.00833/1.09, allocations: 4.115 MB / 1.321 GB, free: 11.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/1.091, allocations: 143.5 kB / 1.322 GB, free: 11.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/1.092, allocations: 0.8684 MB / 1.322 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/1.092, allocations: 43.17 kB / 1.323 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009258/1.093, allocations: 1.204 MB / 1.324 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/1.094, allocations: 322.8 kB / 1.324 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/1.094, allocations: 276.2 kB / 1.324 GB, free: 9.648 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000231/1.095, allocations: 406.6 kB / 1.325 GB, free: 9.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/1.096, allocations: 0.8279 MB / 1.325 GB, free: 8.832 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/1.098, allocations: 1.311 MB / 1.327 GB, free: 7.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/1.101, allocations: 2.161 MB / 1.329 GB, free: 6.344 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/1.101, allocations: 4.562 kB / 1.329 GB, free: 6.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004032/1.105, allocations: 2.222 MB / 1.331 GB, free: 5.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.105, allocations: 10.75 kB / 1.331 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.105, allocations: 13.91 kB / 1.331 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/1.105, allocations: 21.44 kB / 1.331 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.107, allocations: 422.2 kB / 1.331 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-05/1.107, allocations: 31.36 kB / 1.331 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.109, allocations: 215.1 kB / 1.332 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/1.109, allocations: 62.14 kB / 1.332 GB, free: 5.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003528/1.113, allocations: 1.683 MB / 1.333 GB, free: 4.066 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001669/1.114, allocations: 1.193 MB / 1.335 GB, free: 3.047 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002728/1.117, allocations: 1.902 MB / 1.336 GB, free: 1.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-05/1.117, allocations: 5.094 kB / 1.336 GB, free: 1.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003707/1.121, allocations: 1.926 MB / 1.338 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.121, allocations: 14.25 kB / 1.338 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.121, allocations: 14.12 kB / 1.338 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.121, allocations: 22.84 kB / 1.338 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.122, allocations: 369 kB / 1.339 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-05/1.122, allocations: 33.58 kB / 1.339 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.124, allocations: 177.6 kB / 1.339 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.124, allocations: 63.08 kB / 1.339 GB, free: 0.5078 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0005533/1.125, allocations: 268.6 kB / 1.339 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/1.125, allocations: 104.3 kB / 1.339 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/1.129, allocations: 1.858 MB / 1.341 GB, free: 15.13 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.129, allocations: 13.56 kB / 1.341 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.129, allocations: 1.375 kB / 1.341 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.129, allocations: 5.359 kB / 1.341 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.143, allocations: 9.598 MB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/1.143, allocations: 11.94 kB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.145, allocations: 310.5 kB / 1.351 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/1.145, allocations: 16.16 kB / 1.351 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/1.145, allocations: 29.06 kB / 1.351 GB, free: 9.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.069e-05/1.145, allocations: 37.17 kB / 1.351 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.145, allocations: 15.56 kB / 1.351 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/1.148, allocations: 2.399 MB / 1.353 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008866/1.149, allocations: 380.1 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/1.149, allocations: 32 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.15, allocations: 139.7 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/1.15, allocations: 95.66 kB / 1.354 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/1.15, allocations: 36 kB / 1.354 GB, free: 6.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001004/1.151, allocations: 0.6122 MB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.01e-07/1.151, allocations: 0 / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003499/1.155, allocations: 0.7613 MB / 1.355 GB, free: 5.16 MB / 1.045 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 (90): * Single equations (assignments): 90 * 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.003301/1.158, allocations: 2.99 MB / 1.358 GB, free: 2.004 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004572/1.163, allocations: 2.906 MB / 1.361 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.163, allocations: 8.125 kB / 1.361 GB, free: 15.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.164, allocations: 0.9044 MB / 1.362 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.166, allocations: 310.5 kB / 1.362 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/1.191, allocations: 15.31 MB / 1.377 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003093/1.194, allocations: 2.12 MB / 1.379 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002126/1.196, allocations: 0.7501 MB / 1.38 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.198, allocations: 0.8234 MB / 1.381 GB, free: 10.08 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/1.198, allocations: 4 kB / 1.381 GB, free: 10.08 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06007/1.258, allocations: 32.86 MB / 1.413 GB, free: 9.613 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.028/10.29, allocations: 4.812 kB / 1.413 GB, free: 9.613 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_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_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches