Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.00753/0.00753, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001922/0.001922, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.733/2.733, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 59.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02055/0.357, allocations: 16.73 MB / 1.237 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.3681, allocations: 6.43 MB / 1.243 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.3695, allocations: 51.81 kB / 1.243 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.3728, allocations: 1.29 MB / 1.244 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.375, allocations: 0.8674 MB / 1.245 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.3787, allocations: 1.551 MB / 1.246 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.618/0.9967, allocations: 3.84 MB / 1.25 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006115/1.003, allocations: 4.956 MB / 1.255 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/1.005, allocations: 1.647 MB / 1.257 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/1.008, allocations: 1.996 MB / 1.259 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005398/1.009, allocations: 379.2 kB / 1.259 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/1.011, allocations: 0.8489 MB / 1.26 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001755/1.012, allocations: 1.489 MB / 1.261 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002008/1.014, allocations: 1.529 MB / 1.263 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008636/1.023, allocations: 5.576 MB / 1.268 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.023, allocations: 0.5625 kB / 1.268 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.307e-06/1.023, allocations: 0.5 kB / 1.268 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002101/1.023, allocations: 0.6562 kB / 1.268 GB, free: 7.012 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008594/1.032, allocations: 2.796 MB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.032, allocations: 10.09 kB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007484/1.033, allocations: 400.3 kB / 1.271 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/1.038, allocations: 0.9192 MB / 1.272 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/1.041, allocations: 1.444 MB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/1.042, allocations: 190.7 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007005/1.042, allocations: 255.5 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009694/1.052, allocations: 4.652 MB / 1.279 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.059e-05/1.052, allocations: 11.88 kB / 1.279 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/1.052, allocations: 111.7 kB / 1.279 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002447/1.053, allocations: 175.7 kB / 1.279 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00792/1.061, allocations: 3.929 MB / 1.283 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03017/1.091, allocations: 21.44 MB / 1.304 GB, free: 2.902 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/1.094, allocations: 2.241 MB / 1.306 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.095, allocations: 0.7291 MB / 1.307 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/1.095, allocations: 15.78 kB / 1.307 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.095, allocations: 54.22 kB / 1.307 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 2.995e-06/1.095, allocations: 0 / 1.307 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.006909/1.102, allocations: 4.382 MB / 1.311 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.102, allocations: 240.5 kB / 1.311 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/1.104, allocations: 1.177 MB / 1.312 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/1.104, allocations: 37.34 kB / 1.312 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009182/1.105, allocations: 1.227 MB / 1.314 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.106, allocations: 263.1 kB / 1.314 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005825/1.106, allocations: 341.3 kB / 1.314 GB, free: 12.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.106, allocations: 343.4 kB / 1.314 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.108, allocations: 0.766 MB / 1.315 GB, free: 11.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/1.11, allocations: 1.441 MB / 1.317 GB, free: 10.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/1.113, allocations: 2.2 MB / 1.319 GB, free: 8.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.113, allocations: 5.781 kB / 1.319 GB, free: 8.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00398/1.117, allocations: 2.274 MB / 1.321 GB, free: 8.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.117, allocations: 19.66 kB / 1.321 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/1.117, allocations: 27.27 kB / 1.321 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/1.117, allocations: 37.91 kB / 1.321 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.118, allocations: 446.5 kB / 1.321 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.625e-05/1.118, allocations: 47.14 kB / 1.321 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.12, allocations: 234.2 kB / 1.322 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/1.121, allocations: 85.42 kB / 1.322 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002923/1.123, allocations: 1.585 MB / 1.323 GB, free: 7.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001704/1.125, allocations: 1.373 MB / 1.325 GB, free: 6.324 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002589/1.128, allocations: 2.01 MB / 1.327 GB, free: 4.906 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/1.128, allocations: 7.156 kB / 1.327 GB, free: 4.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003591/1.131, allocations: 2.074 MB / 1.329 GB, free: 4.266 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.131, allocations: 21.56 kB / 1.329 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/1.131, allocations: 23.97 kB / 1.329 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/1.132, allocations: 35.28 kB / 1.329 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.133, allocations: 405 kB / 1.329 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.825e-05/1.133, allocations: 57.27 kB / 1.329 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.135, allocations: 192.9 kB / 1.329 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.135, allocations: 88.58 kB / 1.329 GB, free: 4.055 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0004655/1.135, allocations: 291.4 kB / 1.33 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/1.136, allocations: 114.1 kB / 1.33 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/1.137, allocations: 1.095 MB / 1.331 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.137, allocations: 10.28 kB / 1.331 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.138, allocations: 2 kB / 1.331 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.138, allocations: 6.359 kB / 1.331 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/1.152, allocations: 10.21 MB / 1.341 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.152, allocations: 15.19 kB / 1.341 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/1.153, allocations: 189.9 kB / 1.341 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/1.153, allocations: 19.41 kB / 1.341 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/1.153, allocations: 34.53 kB / 1.341 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-05/1.153, allocations: 30.77 kB / 1.341 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.756e-05/1.153, allocations: 25.06 kB / 1.341 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/1.155, allocations: 2.177 MB / 1.343 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/1.156, allocations: 333.8 kB / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/1.156, allocations: 39.36 kB / 1.344 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.157, allocations: 107 kB / 1.344 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.158, allocations: 104.9 kB / 1.344 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/1.158, allocations: 38.53 kB / 1.344 GB, free: 10.71 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001448/1.159, allocations: 0.8108 MB / 1.345 GB, free: 10.25 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.5e-07/1.159, allocations: 0 / 1.345 GB, free: 10.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003599/1.163, allocations: 0.7432 MB / 1.345 GB, free: 10.19 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.00278/1.165, allocations: 2.748 MB / 1.348 GB, free: 7.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00616/1.172, allocations: 2.607 MB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/1.172, allocations: 1.781 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/1.173, allocations: 0.5699 MB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.175, allocations: 267.4 kB / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02507/1.2, allocations: 15.28 MB / 1.366 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/1.203, allocations: 2.011 MB / 1.368 GB, free: 5.898 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002242/1.205, allocations: 0.8831 MB / 1.369 GB, free: 5.012 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.206, allocations: 0.7258 MB / 1.37 GB, free: 4.285 MB / 1.061 GB Notification: Performance of SimCode: time 8.52e-07/1.206, allocations: 0 / 1.37 GB, free: 4.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/1.27, allocations: 29.95 MB / 1.399 GB, free: 6.672 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.704/10.97, allocations: 10.94 kB / 1.399 GB, free: 6.66 MB / 1.092 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_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_Sources_Examples_FixedVoltageSource.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches