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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.328 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.651/2.651, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.000399, allocations: 16 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7397, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02052/0.7602, allocations: 16.05 MB / 1.039 GB, free: 15.78 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.7718, allocations: 6.392 MB / 1.046 GB, free: 9.371 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.7735, allocations: 43.81 kB / 1.046 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.7747, allocations: 313.7 kB / 1.046 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.7774, allocations: 0.8174 MB / 1.047 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.7806, allocations: 1.081 MB / 1.048 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006121/0.7867, allocations: 5.782 MB / 1.053 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009806/0.7965, allocations: 6.14 MB / 1.059 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.7989, allocations: 1.125 MB / 1.061 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00328/0.8022, allocations: 1.725 MB / 1.062 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008171/0.803, allocations: 160 kB / 1.062 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.8053, allocations: 0.7721 MB / 1.063 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.8074, allocations: 1.224 MB / 1.064 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00307/0.8105, allocations: 1.242 MB / 1.066 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005528/0.816, allocations: 4.666 MB / 1.07 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.8161, allocations: 4 kB / 1.07 GB, free: 156 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8161, allocations: 0 / 1.07 GB, free: 156 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000192/0.8163, allocations: 0 / 1.07 GB, free: 156 kB / 0.8106 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.00618/0.8225, allocations: 2.203 MB / 1.072 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.8225, allocations: 8.031 kB / 1.072 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006144/0.8287, allocations: 0.9343 MB / 1.073 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.8318, allocations: 1.419 MB / 1.075 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.832, allocations: 189.5 kB / 1.075 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009678/0.833, allocations: 248.4 kB / 1.075 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.8438, allocations: 4.65 MB / 1.08 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.8439, allocations: 11.88 kB / 1.08 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005642/0.8445, allocations: 112 kB / 1.08 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002574/0.8448, allocations: 180.3 kB / 1.08 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008335/0.8531, allocations: 3.927 MB / 1.084 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.8814, allocations: 21.57 MB / 1.105 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.8844, allocations: 2.255 MB / 1.107 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.8855, allocations: 0.7225 MB / 1.108 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.8856, allocations: 12.86 kB / 1.108 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.8857, allocations: 50.48 kB / 1.108 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=62): time 2.896e-06/0.8857, allocations: 0 / 1.108 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=68): time 0.00714/0.8928, allocations: 4.191 MB / 1.112 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.893, allocations: 247.3 kB / 1.112 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.8951, allocations: 1.166 MB / 1.113 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.8952, allocations: 37.7 kB / 1.113 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008442/0.8961, allocations: 1.184 MB / 1.114 GB, free: 172 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.8964, allocations: 256.6 kB / 1.115 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.8966, allocations: 125.6 kB / 1.115 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8967, allocations: 345.9 kB / 1.115 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.8981, allocations: 0.7455 MB / 1.116 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.8999, allocations: 1.446 MB / 1.117 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.9028, allocations: 2.193 MB / 1.119 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/0.9029, allocations: 4 kB / 1.119 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004373/0.9073, allocations: 2.273 MB / 1.122 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007783/0.9081, allocations: 0.787 MB / 1.122 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-05/0.9081, allocations: 24 kB / 1.122 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.532e-05/0.9082, allocations: 32 kB / 1.122 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.91, allocations: 451.2 kB / 1.123 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.337e-05/0.9101, allocations: 47.86 kB / 1.123 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.912, allocations: 235.2 kB / 1.123 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.9122, allocations: 83.98 kB / 1.123 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.9122, allocations: 4 kB / 1.123 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00339/0.9156, allocations: 1.933 MB / 1.125 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/0.9157, allocations: 28.03 kB / 1.125 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.9157, allocations: 32 kB / 1.125 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.9172, allocations: 403.3 kB / 1.125 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.329e-05/0.9172, allocations: 59.72 kB / 1.126 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.9186, allocations: 151.5 kB / 1.126 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.9187, allocations: 83.98 kB / 1.126 GB, free: 3.449 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.001848/0.9206, allocations: 1.137 MB / 1.127 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.921, allocations: 106.7 kB / 1.127 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.9227, allocations: 1.095 MB / 1.128 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.9227, allocations: 11.94 kB / 1.128 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.9227, allocations: 0 / 1.128 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.9228, allocations: 7.984 kB / 1.128 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.9371, allocations: 10.2 MB / 1.138 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/0.9372, allocations: 16 kB / 1.138 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.9379, allocations: 191.6 kB / 1.138 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.532e-05/0.938, allocations: 31.95 kB / 1.138 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/0.9381, allocations: 32 kB / 1.138 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.623e-05/0.9381, allocations: 27.92 kB / 1.138 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.021e-05/0.9381, allocations: 27.88 kB / 1.138 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.9407, allocations: 2.166 MB / 1.14 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.9414, allocations: 351.5 kB / 1.141 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.9417, allocations: 32 kB / 1.141 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.943, allocations: 107.8 kB / 1.141 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.9431, allocations: 103.5 kB / 1.141 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.9432, allocations: 40 kB / 1.141 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001664/0.9449, allocations: 0.8127 MB / 1.142 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9449, allocations: 0 / 1.142 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003518/0.9484, allocations: 0.7383 MB / 1.143 GB, free: 1.711 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.0002913/0.9487, allocations: 158.7 kB / 1.143 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004633/0.9534, allocations: 2.566 MB / 1.145 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/0.9534, allocations: 4.375 kB / 1.145 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008531/0.9543, allocations: 0.573 MB / 1.146 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/0.9586, allocations: 258.6 kB / 1.146 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009913/0.9685, allocations: 5.915 MB / 1.152 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/0.9712, allocations: 2.067 MB / 1.154 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/0.9718, allocations: 107.4 kB / 1.154 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of SimCode: time 1.272e-06/0.9718, allocations: 0 / 1.154 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of Templates: time 0.04032/1.012, allocations: 25.52 MB / 1.179 GB, free: 12.32 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (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 & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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