Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_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.0009335/0.0009335, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007903/0.007903, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.281/2.281, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.000314, allocations: 8 kB / 0.873 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5752, allocations: 153.8 MB / 1.023 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01567/0.5909, allocations: 16.04 MB / 1.039 GB, free: 15.83 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008606/0.5995, allocations: 6.22 MB / 1.045 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.6009, allocations: 43.81 kB / 1.045 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009226/0.6019, allocations: 317.7 kB / 1.045 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.604, allocations: 0.7979 MB / 1.046 GB, free: 8.434 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.6067, allocations: 1.072 MB / 1.047 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005105/0.6118, allocations: 5.785 MB / 1.053 GB, free: 1.566 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007988/0.6198, allocations: 6.136 MB / 1.059 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.6216, allocations: 1.125 MB / 1.06 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.624, allocations: 1.721 MB / 1.061 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.6244, allocations: 160 kB / 1.062 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.6258, allocations: 0.7448 MB / 1.062 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.627, allocations: 1.216 MB / 1.064 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.6285, allocations: 1.246 MB / 1.065 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/0.6325, allocations: 5.279 MB / 1.07 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6325, allocations: 3.938 kB / 1.07 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6325, allocations: 0 / 1.07 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.344e-05/0.6326, allocations: 0 / 1.07 GB, free: 15.81 MB / 0.8262 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.003649/0.6363, allocations: 2.203 MB / 1.072 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6363, allocations: 12.03 kB / 1.072 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004846/0.6368, allocations: 403.7 kB / 1.072 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.6402, allocations: 0.79 MB / 1.073 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.6421, allocations: 1.411 MB / 1.075 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.6422, allocations: 197.5 kB / 1.075 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.6426, allocations: 244.4 kB / 1.075 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005894/0.6485, allocations: 4.591 MB / 1.08 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-05/0.6486, allocations: 7.938 kB / 1.08 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.6488, allocations: 112 kB / 1.08 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.649, allocations: 176.3 kB / 1.08 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005036/0.6541, allocations: 3.835 MB / 1.084 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.6719, allocations: 21.43 MB / 1.104 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.6742, allocations: 2.261 MB / 1.107 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008774/0.6751, allocations: 0.7094 MB / 1.107 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.6751, allocations: 16.84 kB / 1.107 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.6751, allocations: 50.5 kB / 1.107 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/0.6752, allocations: 0 / 1.107 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=68): time 0.004739/0.6799, allocations: 4.198 MB / 1.112 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.68, allocations: 247.5 kB / 1.112 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.6812, allocations: 1.108 MB / 1.113 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.6813, allocations: 37.7 kB / 1.113 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005817/0.6818, allocations: 1.191 MB / 1.114 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.682, allocations: 256.5 kB / 1.114 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.6822, allocations: 121.7 kB / 1.114 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.6823, allocations: 341.9 kB / 1.115 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.6831, allocations: 0.7026 MB / 1.115 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.6844, allocations: 1.403 MB / 1.117 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.6864, allocations: 2.154 MB / 1.119 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6865, allocations: 7.938 kB / 1.119 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002695/0.6892, allocations: 2.184 MB / 1.121 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.6896, allocations: 0.7905 MB / 1.122 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.6896, allocations: 24 kB / 1.122 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.6896, allocations: 40 kB / 1.122 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.6909, allocations: 427.2 kB / 1.122 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.5e-05/0.691, allocations: 51.8 kB / 1.122 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6921, allocations: 187.4 kB / 1.123 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6922, allocations: 83.98 kB / 1.123 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.6922, allocations: 4 kB / 1.123 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002236/0.6944, allocations: 1.859 MB / 1.124 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.6945, allocations: 24 kB / 1.124 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.6945, allocations: 35.94 kB / 1.124 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.6956, allocations: 391.3 kB / 1.125 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/0.6956, allocations: 47.84 kB / 1.125 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008315/0.6965, allocations: 131.5 kB / 1.125 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.6966, allocations: 87.92 kB / 1.125 GB, free: 3.57 MB / 0.8731 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.001372/0.698, allocations: 1.133 MB / 1.126 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.6982, allocations: 106.8 kB / 1.126 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.6997, allocations: 1.091 MB / 1.127 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6997, allocations: 8 kB / 1.127 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6997, allocations: 4 kB / 1.127 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.6997, allocations: 7.984 kB / 1.127 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.7103, allocations: 10.17 MB / 1.137 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.7104, allocations: 16 kB / 1.137 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.7109, allocations: 187.7 kB / 1.138 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.711, allocations: 23.94 kB / 1.138 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.711, allocations: 32 kB / 1.138 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/0.7111, allocations: 31.86 kB / 1.138 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/0.7111, allocations: 23.88 kB / 1.138 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.7128, allocations: 2.174 MB / 1.14 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.7132, allocations: 347.4 kB / 1.14 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7134, allocations: 35.98 kB / 1.14 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.7143, allocations: 95.86 kB / 1.14 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.7144, allocations: 95.56 kB / 1.14 GB, free: 3.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.7144, allocations: 40 kB / 1.14 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008372/0.7153, allocations: 0.7659 MB / 1.141 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7153, allocations: 0 / 1.141 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002405/0.7177, allocations: 0.7227 MB / 1.142 GB, free: 1.953 MB / 0.8887 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.001923/0.7196, allocations: 2.765 MB / 1.144 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.7226, allocations: 2.48 MB / 1.147 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7226, allocations: 0 / 1.147 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.7233, allocations: 0.5726 MB / 1.147 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/0.7268, allocations: 258.8 kB / 1.148 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/0.7439, allocations: 16.47 MB / 1.164 GB, free: 9.902 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.7456, allocations: 2.007 MB / 1.166 GB, free: 7.863 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001821/0.7475, allocations: 0.8597 MB / 1.167 GB, free: 7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/0.7483, allocations: 0.7258 MB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of SimCode: time 7.92e-07/0.7483, allocations: 0 / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.226/2.975, allocations: 27.51 MB / 1.194 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/2.975, allocations: 249.6 kB / 1.194 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/5.322, allocations: 0 / 1.194 GB, free: 10.79 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches