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.006047/0.006047, allocations: 101 kB / 15.73 MB, free: 6.062 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.001547/0.001547, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.658/2.658, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7746, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0461/0.8208, allocations: 37.28 MB / 1.203 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.8444, allocations: 13.69 MB / 1.216 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004593/0.849, allocations: 115.6 kB / 1.216 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006299/0.8554, allocations: 2.275 MB / 1.218 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.8594, allocations: 1.439 MB / 1.22 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008734/0.8682, allocations: 3.52 MB / 1.223 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007882/0.8761, allocations: 6.391 MB / 1.229 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.8881, allocations: 9.883 MB / 1.239 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.8922, allocations: 2.739 MB / 1.242 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005109/0.8973, allocations: 3.194 MB / 1.245 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.8987, allocations: 0.6211 MB / 1.245 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.9014, allocations: 1.26 MB / 1.247 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002813/0.9042, allocations: 2.484 MB / 1.249 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003841/0.9081, allocations: 2.549 MB / 1.252 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.9192, allocations: 9.185 MB / 1.261 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.9193, allocations: 3.938 kB / 1.261 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9193, allocations: 0 / 1.261 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003105/0.9196, allocations: 0 / 1.261 GB, free: 2.734 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.01242/0.932, allocations: 4.41 MB / 1.265 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.9321, allocations: 8.922 kB / 1.265 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00158/0.9337, allocations: 0.6404 MB / 1.265 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/0.9386, allocations: 1.052 MB / 1.266 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.9429, allocations: 2.238 MB / 1.269 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.9432, allocations: 325 kB / 1.269 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009148/0.9441, allocations: 424.3 kB / 1.269 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.9578, allocations: 7.412 MB / 1.277 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.032e-05/0.9579, allocations: 7.938 kB / 1.277 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004862/0.9584, allocations: 180 kB / 1.277 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/0.9587, allocations: 290.9 kB / 1.277 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.9697, allocations: 6.022 MB / 1.283 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04004/1.01, allocations: 32.51 MB / 1.315 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/1.013, allocations: 2.134 MB / 1.317 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/1.015, allocations: 1.247 MB / 1.318 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/1.015, allocations: 110.1 kB / 1.318 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.015, allocations: 43.56 kB / 1.318 GB, free: 4.406 MB / 1.045 GB Notification: Performance of pre-optimization done (n=98): time 3.276e-06/1.015, allocations: 0 / 1.318 GB, free: 4.406 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.008633/1.024, allocations: 5.44 MB / 1.323 GB, free: 14.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/1.024, allocations: 142.1 kB / 1.324 GB, free: 14.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/1.026, allocations: 1.476 MB / 1.325 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/1.027, allocations: 41.7 kB / 1.325 GB, free: 13.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.028, allocations: 1.929 MB / 1.327 GB, free: 11.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/1.028, allocations: 392.8 kB / 1.327 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007449/1.029, allocations: 467.4 kB / 1.328 GB, free: 10.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.029, allocations: 301.1 kB / 1.328 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/1.031, allocations: 1.153 MB / 1.329 GB, free: 8.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/1.034, allocations: 2.215 MB / 1.331 GB, free: 6.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004681/1.039, allocations: 3.431 MB / 1.335 GB, free: 2.324 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/1.039, allocations: 8 kB / 1.335 GB, free: 2.316 MB / 1.061 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005666/1.044, allocations: 3.379 MB / 1.338 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/1.045, allocations: 20 kB / 1.338 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/1.045, allocations: 32 kB / 1.338 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-05/1.045, allocations: 55.78 kB / 1.338 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.047, allocations: 0.6279 MB / 1.339 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.096e-05/1.047, allocations: 79.64 kB / 1.339 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/1.049, allocations: 331.1 kB / 1.339 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/1.049, allocations: 116 kB / 1.339 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003932/1.053, allocations: 2.432 MB / 1.342 GB, free: 11.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002493/1.056, allocations: 2.043 MB / 1.344 GB, free: 8.668 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004016/1.06, allocations: 3.064 MB / 1.347 GB, free: 5.113 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.023e-05/1.06, allocations: 12 kB / 1.347 GB, free: 5.102 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004961/1.065, allocations: 2.988 MB / 1.35 GB, free: 2.109 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.065, allocations: 20 kB / 1.35 GB, free: 2.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-05/1.065, allocations: 36.91 kB / 1.35 GB, free: 2.055 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/1.065, allocations: 48 kB / 1.35 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.067, allocations: 0.5692 MB / 1.35 GB, free: 1.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-05/1.067, allocations: 71.72 kB / 1.35 GB, free: 1.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.069, allocations: 267.2 kB / 1.351 GB, free: 1.105 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.069, allocations: 116 kB / 1.351 GB, free: 0.9922 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.0005051/1.069, allocations: 331.3 kB / 1.351 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/1.07, allocations: 167 kB / 1.351 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/1.074, allocations: 2.25 MB / 1.353 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.074, allocations: 12 kB / 1.353 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.074, allocations: 0 / 1.353 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.074, allocations: 7.984 kB / 1.353 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.09, allocations: 11 MB / 1.364 GB, free: 2.965 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.09, allocations: 16 kB / 1.364 GB, free: 2.949 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.092, allocations: 391.3 kB / 1.364 GB, free: 2.566 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/1.092, allocations: 16 kB / 1.364 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/1.092, allocations: 32 kB / 1.364 GB, free: 2.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/1.092, allocations: 19.94 kB / 1.365 GB, free: 2.5 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/1.092, allocations: 15.94 kB / 1.365 GB, free: 2.484 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/1.095, allocations: 2.772 MB / 1.367 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009363/1.096, allocations: 455.7 kB / 1.368 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/1.097, allocations: 35.98 kB / 1.368 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.098, allocations: 175.7 kB / 1.368 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/1.098, allocations: 104.2 kB / 1.368 GB, free: 14.78 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/1.098, allocations: 36 kB / 1.368 GB, free: 14.74 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001538/1.1, allocations: 1.009 MB / 1.369 GB, free: 13.73 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.1, allocations: 4 kB / 1.369 GB, free: 13.73 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003932/1.104, allocations: 1.137 MB / 1.37 GB, free: 12.59 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.003982/1.108, allocations: 3.349 MB / 1.373 GB, free: 9.07 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006604/1.114, allocations: 4.074 MB / 1.377 GB, free: 5.012 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.114, allocations: 0 / 1.377 GB, free: 5.012 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.116, allocations: 1.063 MB / 1.378 GB, free: 3.953 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.118, allocations: 454.7 kB / 1.379 GB, free: 3.543 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/1.153, allocations: 21.93 MB / 1.4 GB, free: 12.15 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/1.156, allocations: 2.86 MB / 1.403 GB, free: 9.258 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003013/1.159, allocations: 1.231 MB / 1.404 GB, free: 8.02 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/1.161, allocations: 1.276 MB / 1.405 GB, free: 6.742 MB / 1.139 GB Notification: Performance of SimCode: time 5.61e-07/1.161, allocations: 3.938 kB / 1.405 GB, free: 6.738 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08616/1.247, allocations: 47.75 MB / 1.452 GB, free: 7.352 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.76, allocations: 12.28 kB / 1.452 GB, free: 7.344 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