Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_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.0007989/0.000799, allocations: 91.14 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.0044/0.0044, allocations: 173.8 kB / 16.27 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 462.7 MB / 0.7364 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 12.19 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 159.6 MB / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01626/0.2671, allocations: 16.04 MB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008869/0.276, allocations: 6.379 MB / 1.081 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009396/0.2769, allocations: 39.88 kB / 1.081 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.2777, allocations: 317.7 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.2794, allocations: 0.8213 MB / 1.082 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.2816, allocations: 1.075 MB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004888/0.2864, allocations: 5.797 MB / 1.089 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007674/0.2941, allocations: 6.132 MB / 1.095 GB, free: 0 / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.2957, allocations: 1.129 MB / 1.096 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.298, allocations: 1.717 MB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.2984, allocations: 164 kB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.2998, allocations: 0.776 MB / 1.098 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.301, allocations: 1.228 MB / 1.099 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.3024, allocations: 1.238 MB / 1.101 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.3066, allocations: 5.3 MB / 1.106 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3067, allocations: 0 / 1.106 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3067, allocations: 0 / 1.106 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001048/0.3068, allocations: 0 / 1.106 GB, free: 4.41 MB / 0.8575 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.003915/0.3107, allocations: 2.209 MB / 1.108 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3107, allocations: 16.03 kB / 1.108 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004736/0.3112, allocations: 403.7 kB / 1.108 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.3158, allocations: 0.9227 MB / 1.109 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.3176, allocations: 1.407 MB / 1.111 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3177, allocations: 197.5 kB / 1.111 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.3181, allocations: 252.4 kB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006227/0.3244, allocations: 4.65 MB / 1.116 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/0.3244, allocations: 19.84 kB / 1.116 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/0.3247, allocations: 115.9 kB / 1.116 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/0.3249, allocations: 172.3 kB / 1.116 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005613/0.3305, allocations: 3.928 MB / 1.12 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/0.3501, allocations: 21.56 MB / 1.141 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.3525, allocations: 2.25 MB / 1.143 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009165/0.3534, allocations: 0.7195 MB / 1.144 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3534, allocations: 12 kB / 1.144 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.3535, allocations: 46.5 kB / 1.144 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.3535, allocations: 0 / 1.144 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=68): time 0.005044/0.3585, allocations: 4.193 MB / 1.148 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/0.3586, allocations: 244.4 kB / 1.148 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.3602, allocations: 1.17 MB / 1.149 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.3602, allocations: 37.64 kB / 1.149 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000652/0.3609, allocations: 1.191 MB / 1.15 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.3611, allocations: 248.6 kB / 1.151 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.3613, allocations: 129.6 kB / 1.151 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3614, allocations: 353.9 kB / 1.151 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3626, allocations: 0.7377 MB / 1.152 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.3641, allocations: 1.446 MB / 1.153 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.3666, allocations: 2.201 MB / 1.155 GB, free: 14.24 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.3666, allocations: 8 kB / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003444/0.3701, allocations: 2.262 MB / 1.158 GB, free: 11.96 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004966/0.3706, allocations: 0.7834 MB / 1.158 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.3706, allocations: 35.92 kB / 1.158 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-05/0.3707, allocations: 36 kB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.3722, allocations: 447.2 kB / 1.159 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.649e-05/0.3723, allocations: 47.8 kB / 1.159 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3738, allocations: 231.3 kB / 1.159 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.374, allocations: 91.97 kB / 1.159 GB, free: 9.973 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.374, allocations: 4 kB / 1.159 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002766/0.3768, allocations: 1.929 MB / 1.161 GB, free: 8.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.3768, allocations: 24 kB / 1.161 GB, free: 8.016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.3768, allocations: 36 kB / 1.161 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.3781, allocations: 415.8 kB / 1.162 GB, free: 7.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.208e-05/0.3781, allocations: 47.86 kB / 1.162 GB, free: 7.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3793, allocations: 163.4 kB / 1.162 GB, free: 7.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/0.3794, allocations: 79.98 kB / 1.162 GB, free: 7.289 MB / 0.92 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.001354/0.3807, allocations: 1.125 MB / 1.163 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.381, allocations: 106.8 kB / 1.163 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.3824, allocations: 1.101 MB / 1.164 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3825, allocations: 12 kB / 1.164 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3825, allocations: 4 kB / 1.164 GB, free: 4.926 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3825, allocations: 3.984 kB / 1.164 GB, free: 4.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.3933, allocations: 10.21 MB / 1.174 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.3933, allocations: 16 kB / 1.174 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.3939, allocations: 191.6 kB / 1.174 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.64e-05/0.3939, allocations: 20 kB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.394, allocations: 28 kB / 1.174 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-05/0.394, allocations: 35.8 kB / 1.174 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.394, allocations: 27.88 kB / 1.174 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3958, allocations: 2.17 MB / 1.177 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.3962, allocations: 339.6 kB / 1.177 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3963, allocations: 39.98 kB / 1.177 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.3974, allocations: 111.8 kB / 1.177 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3975, allocations: 99.5 kB / 1.177 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.3976, allocations: 36 kB / 1.177 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001113/0.3987, allocations: 0.8166 MB / 1.178 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3987, allocations: 0 / 1.178 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00242/0.4011, allocations: 0.7383 MB / 1.179 GB, free: 5.543 MB / 0.9356 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.002019/0.4031, allocations: 2.749 MB / 1.181 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00346/0.4066, allocations: 2.566 MB / 1.184 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4066, allocations: 0 / 1.184 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006449/0.4073, allocations: 0.5744 MB / 1.184 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/0.4107, allocations: 259.8 kB / 1.185 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/0.4293, allocations: 16.72 MB / 1.201 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.431, allocations: 2.003 MB / 1.203 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002031/0.4331, allocations: 0.887 MB / 1.204 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008611/0.4339, allocations: 0.7258 MB / 1.205 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.4339, allocations: 4 kB / 1.205 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.865/2.298, allocations: 28.35 MB / 1.232 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/2.299, allocations: 238.9 kB / 1.232 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/5.421, allocations: 2.391 kB / 1.232 GB, free: 13.23 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches