Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_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.001388/0.001388, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 194 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 59.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.6265, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03979/0.6663, allocations: 37.26 MB / 0.9861 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.6891, allocations: 13.71 MB / 0.9995 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.6928, allocations: 111.6 kB / 0.9996 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005902/0.6988, allocations: 2.277 MB / 1.002 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.7028, allocations: 1.435 MB / 1.003 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008722/0.7116, allocations: 3.508 MB / 1.007 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007417/0.719, allocations: 6.399 MB / 1.013 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.733, allocations: 10.02 MB / 1.023 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.7375, allocations: 2.731 MB / 1.025 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004588/0.7421, allocations: 3.194 MB / 1.028 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.7437, allocations: 0.6211 MB / 1.029 GB, free: 300 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.7467, allocations: 1.252 MB / 1.03 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003169/0.7499, allocations: 2.484 MB / 1.033 GB, free: 12.55 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004633/0.7546, allocations: 2.553 MB / 1.035 GB, free: 9.988 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009893/0.7645, allocations: 9.104 MB / 1.044 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7645, allocations: 0 / 1.044 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7645, allocations: 0 / 1.044 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003098/0.7649, allocations: 0 / 1.044 GB, free: 0.8594 MB / 0.795 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.01182/0.7767, allocations: 4.308 MB / 1.048 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.7767, allocations: 8.031 kB / 1.048 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001691/0.7784, allocations: 0.6443 MB / 1.049 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00578/0.7842, allocations: 1.03 MB / 1.05 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.7885, allocations: 2.187 MB / 1.052 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.7888, allocations: 325 kB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.7899, allocations: 432.3 kB / 1.053 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.8055, allocations: 7.404 MB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.8057, allocations: 11.88 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.8067, allocations: 188 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003147/0.807, allocations: 286.9 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.8182, allocations: 6.03 MB / 1.066 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/0.8547, allocations: 32.71 MB / 1.098 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/0.8582, allocations: 2.138 MB / 1.1 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.8599, allocations: 1.255 MB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.8601, allocations: 98.08 kB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.8601, allocations: 55.48 kB / 1.102 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=98): time 2.685e-06/0.8601, allocations: 0 / 1.102 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=101): time 0.009901/0.87, allocations: 5.266 MB / 1.107 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.8701, allocations: 145.5 kB / 1.107 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.8728, allocations: 1.476 MB / 1.109 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.873, allocations: 45.7 kB / 1.109 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/0.8747, allocations: 1.863 MB / 1.11 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/0.8752, allocations: 367 kB / 1.111 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.8762, allocations: 471 kB / 1.111 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8764, allocations: 305.1 kB / 1.111 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.8782, allocations: 1.141 MB / 1.113 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.8807, allocations: 2.207 MB / 1.115 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004542/0.8853, allocations: 3.438 MB / 1.118 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-05/0.8853, allocations: 12 kB / 1.118 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005624/0.891, allocations: 3.371 MB / 1.121 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.891, allocations: 21.25 kB / 1.121 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.74e-05/0.8911, allocations: 39.94 kB / 1.121 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.959e-05/0.8912, allocations: 51.94 kB / 1.122 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.8936, allocations: 0.6239 MB / 1.122 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.406e-05/0.8936, allocations: 67.78 kB / 1.122 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.896, allocations: 334.7 kB / 1.123 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.8962, allocations: 112 kB / 1.123 GB, free: 12 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004627/0.9009, allocations: 2.432 MB / 1.125 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002422/0.9033, allocations: 2.047 MB / 1.127 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003786/0.9071, allocations: 3.068 MB / 1.13 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-05/0.9072, allocations: 8 kB / 1.13 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005154/0.9123, allocations: 2.977 MB / 1.133 GB, free: 432 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.9124, allocations: 24.03 kB / 1.133 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/0.9124, allocations: 36 kB / 1.133 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.683e-05/0.9125, allocations: 51.98 kB / 1.133 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.9144, allocations: 0.5615 MB / 1.134 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.06e-05/0.9145, allocations: 75.66 kB / 1.134 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.9169, allocations: 267.1 kB / 1.134 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.9171, allocations: 116 kB / 1.134 GB, free: 15.3 MB / 0.9044 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.0006282/0.9177, allocations: 339.2 kB / 1.134 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.9182, allocations: 158.1 kB / 1.134 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.9217, allocations: 2.238 MB / 1.137 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.9218, allocations: 11.94 kB / 1.137 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.9218, allocations: 4 kB / 1.137 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.9218, allocations: 11.97 kB / 1.137 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.9379, allocations: 10.99 MB / 1.147 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/0.938, allocations: 12.97 kB / 1.147 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.9396, allocations: 383.3 kB / 1.148 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.783e-05/0.9396, allocations: 20 kB / 1.148 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.9398, allocations: 28 kB / 1.148 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.053e-05/0.9398, allocations: 27.86 kB / 1.148 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.9398, allocations: 15.94 kB / 1.148 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.9433, allocations: 2.763 MB / 1.151 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008776/0.9442, allocations: 450.9 kB / 1.151 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.9446, allocations: 43.92 kB / 1.151 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.9461, allocations: 171.7 kB / 1.151 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.9463, allocations: 96.22 kB / 1.151 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/0.9464, allocations: 43.94 kB / 1.151 GB, free: 13.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001732/0.9481, allocations: 1.005 MB / 1.152 GB, free: 12.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9481, allocations: 0 / 1.152 GB, free: 12.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004588/0.9527, allocations: 1.133 MB / 1.153 GB, free: 10.94 MB / 0.92 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.003728/0.9565, allocations: 3.356 MB / 1.157 GB, free: 7.402 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006583/0.9631, allocations: 4.294 MB / 1.161 GB, free: 3.125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.9631, allocations: 4.062 kB / 1.161 GB, free: 3.121 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.9645, allocations: 1.056 MB / 1.162 GB, free: 2.066 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.9674, allocations: 456.1 kB / 1.162 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/1.004, allocations: 22.85 MB / 1.185 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005134/1.009, allocations: 2.864 MB / 1.187 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003832/1.013, allocations: 1.227 MB / 1.189 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/1.016, allocations: 1.276 MB / 1.19 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of SimCode: time 9.12e-07/1.016, allocations: 0 / 1.19 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08043/1.096, allocations: 46.75 MB / 1.236 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/9.31, allocations: 6.859 kB / 1.236 GB, free: 5.18 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches