Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.001245/0.001245, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008282/0.008282, allocations: 172 kB / 16.27 MB, free: 6.652 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.401/2.401, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5244, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0188/0.5433, allocations: 19.65 MB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.5541, allocations: 7.48 MB / 1.05 GB, free: 4.637 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.5558, allocations: 55.75 kB / 1.05 GB, free: 4.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5569, allocations: 373.3 kB / 1.05 GB, free: 4.215 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.5592, allocations: 0.9146 MB / 1.051 GB, free: 3.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.5624, allocations: 1.321 MB / 1.052 GB, free: 1.98 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006221/0.5686, allocations: 6.449 MB / 1.059 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009612/0.5783, allocations: 7.521 MB / 1.066 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.5801, allocations: 1.257 MB / 1.067 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.5822, allocations: 1.873 MB / 1.069 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.5825, allocations: 180 kB / 1.069 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.5838, allocations: 0.8266 MB / 1.07 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.5848, allocations: 1.337 MB / 1.071 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.586, allocations: 1.374 MB / 1.073 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.5901, allocations: 5.859 MB / 1.078 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5901, allocations: 4 kB / 1.078 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5901, allocations: 0 / 1.078 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.044e-05/0.5901, allocations: 0 / 1.078 GB, free: 7.148 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.003858/0.594, allocations: 2.449 MB / 1.081 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.594, allocations: 8.031 kB / 1.081 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005082/0.5946, allocations: 442 kB / 1.081 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.5972, allocations: 0.6805 MB / 1.082 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.5992, allocations: 1.547 MB / 1.083 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.5994, allocations: 218.2 kB / 1.083 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004287/0.5998, allocations: 288.3 kB / 1.084 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006902/0.6067, allocations: 5.051 MB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.6068, allocations: 11.84 kB / 1.089 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.6071, allocations: 128 kB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.6073, allocations: 208.6 kB / 1.089 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0058/0.6131, allocations: 4.189 MB / 1.093 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/0.6328, allocations: 23.02 MB / 1.116 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.6353, allocations: 1.723 MB / 1.117 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.6367, allocations: 1.13 MB / 1.118 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.6369, allocations: 93.75 kB / 1.118 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6369, allocations: 51.14 kB / 1.119 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.6369, allocations: 4 kB / 1.119 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.005015/0.6419, allocations: 3.997 MB / 1.122 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.642, allocations: 145.2 kB / 1.123 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/0.6429, allocations: 0.8486 MB / 1.123 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.071e-05/0.643, allocations: 41.7 kB / 1.123 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/0.6436, allocations: 1.158 MB / 1.125 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.6438, allocations: 311.6 kB / 1.125 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.644, allocations: 105.7 kB / 1.125 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6441, allocations: 410.7 kB / 1.125 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.6452, allocations: 0.7989 MB / 1.126 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.6465, allocations: 1.291 MB / 1.127 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.6489, allocations: 2.155 MB / 1.129 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.6489, allocations: 4 kB / 1.129 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00282/0.6517, allocations: 2.179 MB / 1.132 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.00026/0.652, allocations: 0.5028 MB / 1.132 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.652, allocations: 12 kB / 1.132 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.652, allocations: 24 kB / 1.132 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.6535, allocations: 411.2 kB / 1.133 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.6535, allocations: 27.94 kB / 1.133 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6545, allocations: 203.2 kB / 1.133 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.6546, allocations: 67.92 kB / 1.133 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.6547, allocations: 5.562 kB / 1.133 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002254/0.6569, allocations: 1.772 MB / 1.135 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6569, allocations: 12 kB / 1.135 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.657, allocations: 24 kB / 1.135 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.6581, allocations: 360.2 kB / 1.135 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.6581, allocations: 31.86 kB / 1.135 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.6589, allocations: 151.4 kB / 1.135 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.659, allocations: 59.94 kB / 1.135 GB, free: 9.605 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.001485/0.6605, allocations: 1.176 MB / 1.136 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.6607, allocations: 106.8 kB / 1.136 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.6633, allocations: 1.843 MB / 1.138 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6633, allocations: 12 kB / 1.138 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6633, allocations: 0 / 1.138 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.6633, allocations: 7.984 kB / 1.138 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.6741, allocations: 9.584 MB / 1.148 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.6741, allocations: 12 kB / 1.148 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6753, allocations: 316.2 kB / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/0.6753, allocations: 16 kB / 1.148 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/0.6754, allocations: 32 kB / 1.148 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.6754, allocations: 19.92 kB / 1.148 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/0.6754, allocations: 27.81 kB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.6779, allocations: 2.398 MB / 1.15 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.6785, allocations: 387.4 kB / 1.151 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.6787, allocations: 35.92 kB / 1.151 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/0.6796, allocations: 135.8 kB / 1.151 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.6798, allocations: 99.59 kB / 1.151 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.6799, allocations: 36 kB / 1.151 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000723/0.6806, allocations: 0.5888 MB / 1.152 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6806, allocations: 4 kB / 1.152 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002344/0.683, allocations: 0.7461 MB / 1.152 GB, free: 7.594 MB / 0.9044 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 (90): * Single equations (assignments): 90 * 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.002867/0.6858, allocations: 2.993 MB / 1.155 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003777/0.6896, allocations: 2.842 MB / 1.158 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6897, allocations: 0 / 1.158 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.6908, allocations: 0.9159 MB / 1.159 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.6936, allocations: 299.3 kB / 1.159 GB, free: 408 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.7144, allocations: 16.77 MB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.7163, allocations: 2.124 MB / 1.178 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001651/0.718, allocations: 0.7383 MB / 1.178 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.719, allocations: 0.8273 MB / 1.179 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.719, allocations: 0 / 1.179 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.551/2.27, allocations: 30.4 MB / 1.209 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/2.271, allocations: 225.5 kB / 1.209 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/4.725, allocations: 4.625 kB / 1.209 GB, free: 12.68 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches