Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_10_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.005119/0.005119, allocations: 99.81 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.00114/0.00114, allocations: 192.2 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 63.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7463, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04226/0.7886, allocations: 37.26 MB / 1.203 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.811, allocations: 13.7 MB / 1.216 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/0.8145, allocations: 115.6 kB / 1.216 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00597/0.8205, allocations: 2.286 MB / 1.218 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.8245, allocations: 1.451 MB / 1.22 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008813/0.8334, allocations: 3.524 MB / 1.223 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007911/0.8413, allocations: 6.41 MB / 1.229 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01365/0.855, allocations: 9.884 MB / 1.239 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.8595, allocations: 2.766 MB / 1.242 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005234/0.8648, allocations: 3.202 MB / 1.245 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.8663, allocations: 0.6172 MB / 1.245 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.8691, allocations: 1.256 MB / 1.247 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.8725, allocations: 2.48 MB / 1.249 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004636/0.8771, allocations: 2.553 MB / 1.252 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009562/0.8867, allocations: 9.176 MB / 1.261 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.8867, allocations: 0 / 1.261 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.456e-06/0.8868, allocations: 0 / 1.261 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002431/0.887, allocations: 3.938 kB / 1.261 GB, free: 2.668 MB / 0.9825 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.008701/0.8957, allocations: 4.41 MB / 1.265 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8958, allocations: 16.86 kB / 1.265 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009195/0.8967, allocations: 0.6365 MB / 1.266 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.9016, allocations: 1.048 MB / 1.267 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/0.9067, allocations: 2.242 MB / 1.269 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.907, allocations: 321 kB / 1.269 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000966/0.908, allocations: 428.3 kB / 1.269 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/0.9216, allocations: 7.412 MB / 1.277 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.194e-05/0.9217, allocations: 7.938 kB / 1.277 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004756/0.9222, allocations: 184 kB / 1.277 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000316/0.9225, allocations: 290.9 kB / 1.277 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.9335, allocations: 6.022 MB / 1.283 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0401/0.9736, allocations: 32.51 MB / 1.315 GB, free: 7.941 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.9773, allocations: 2.134 MB / 1.317 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.9791, allocations: 1.244 MB / 1.318 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.9793, allocations: 110.1 kB / 1.318 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.9793, allocations: 47.5 kB / 1.318 GB, free: 4.336 MB / 1.045 GB Notification: Performance of pre-optimization done (n=98): time 2.645e-06/0.9793, allocations: 0 / 1.318 GB, free: 4.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.008902/0.9882, allocations: 5.44 MB / 1.324 GB, free: 14.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.9883, allocations: 145.5 kB / 1.324 GB, free: 14.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.9904, allocations: 1.48 MB / 1.325 GB, free: 13.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.9905, allocations: 45.7 kB / 1.325 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9917, allocations: 1.925 MB / 1.327 GB, free: 11.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.9921, allocations: 392.8 kB / 1.327 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007301/0.9928, allocations: 463.4 kB / 1.328 GB, free: 10.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.9929, allocations: 305.1 kB / 1.328 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.9948, allocations: 1.149 MB / 1.329 GB, free: 8.891 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.9974, allocations: 2.211 MB / 1.331 GB, free: 6.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004393/1.002, allocations: 3.434 MB / 1.335 GB, free: 2.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/1.002, allocations: 12 kB / 1.335 GB, free: 2.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005557/1.007, allocations: 3.375 MB / 1.338 GB, free: 14.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.007, allocations: 20 kB / 1.338 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-05/1.007, allocations: 40.83 kB / 1.338 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.958e-05/1.008, allocations: 51.75 kB / 1.338 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/1.01, allocations: 0.6317 MB / 1.339 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.306e-05/1.01, allocations: 67.78 kB / 1.339 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.012, allocations: 327.1 kB / 1.339 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/1.012, allocations: 112 kB / 1.339 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003656/1.016, allocations: 2.436 MB / 1.342 GB, free: 11.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002237/1.018, allocations: 2.046 MB / 1.344 GB, free: 8.598 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003832/1.022, allocations: 3.068 MB / 1.347 GB, free: 5.039 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.641e-05/1.022, allocations: 8 kB / 1.347 GB, free: 5.031 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00475/1.027, allocations: 2.984 MB / 1.35 GB, free: 2.043 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.027, allocations: 20 kB / 1.35 GB, free: 2.023 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/1.027, allocations: 36 kB / 1.35 GB, free: 1.988 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.069e-05/1.027, allocations: 48 kB / 1.35 GB, free: 1.941 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.029, allocations: 0.5739 MB / 1.35 GB, free: 1.367 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.153e-05/1.029, allocations: 71.72 kB / 1.35 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/1.031, allocations: 267.2 kB / 1.351 GB, free: 1.035 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/1.031, allocations: 116 kB / 1.351 GB, free: 0.9219 MB / 1.076 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.0004974/1.032, allocations: 327.3 kB / 1.351 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/1.032, allocations: 163 kB / 1.351 GB, free: 444 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/1.036, allocations: 2.254 MB / 1.353 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.036, allocations: 8 kB / 1.353 GB, free: 14.15 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.036, allocations: 4 kB / 1.353 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.036, allocations: 3.984 kB / 1.353 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/1.052, allocations: 11 MB / 1.364 GB, free: 2.895 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/1.053, allocations: 12 kB / 1.364 GB, free: 2.883 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.054, allocations: 387.3 kB / 1.364 GB, free: 2.504 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.703e-05/1.054, allocations: 19.98 kB / 1.365 GB, free: 2.484 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/1.054, allocations: 28 kB / 1.365 GB, free: 2.457 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/1.054, allocations: 27.81 kB / 1.365 GB, free: 2.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/1.054, allocations: 15.94 kB / 1.365 GB, free: 2.414 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/1.058, allocations: 2.776 MB / 1.367 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.059, allocations: 459.7 kB / 1.368 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/1.059, allocations: 39.97 kB / 1.368 GB, free: 14.96 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.06, allocations: 175.7 kB / 1.368 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.061, allocations: 100.2 kB / 1.368 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/1.061, allocations: 43.98 kB / 1.368 GB, free: 14.65 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001533/1.062, allocations: 0.9977 MB / 1.369 GB, free: 13.66 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.51e-07/1.062, allocations: 0 / 1.369 GB, free: 13.66 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003941/1.066, allocations: 1.141 MB / 1.37 GB, free: 12.52 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.003486/1.07, allocations: 3.353 MB / 1.373 GB, free: 8.988 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005858/1.076, allocations: 4.071 MB / 1.377 GB, free: 4.934 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.076, allocations: 0 / 1.377 GB, free: 4.934 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/1.077, allocations: 1.059 MB / 1.378 GB, free: 3.879 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.079, allocations: 454.4 kB / 1.379 GB, free: 3.469 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03331/1.113, allocations: 21.93 MB / 1.4 GB, free: 12.08 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003848/1.117, allocations: 2.864 MB / 1.403 GB, free: 9.184 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00298/1.12, allocations: 1.223 MB / 1.404 GB, free: 7.953 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.122, allocations: 1.28 MB / 1.406 GB, free: 6.672 MB / 1.139 GB Notification: Performance of SimCode: time 1.082e-06/1.122, allocations: 0 / 1.406 GB, free: 6.672 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08089/1.202, allocations: 47.74 MB / 1.452 GB, free: 7.289 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.48, allocations: 12.91 kB / 1.452 GB, free: 7.281 MB / 1.186 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches