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.001268/0.001268, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001898/0.001898, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.348 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.75/2.75, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003713, allocations: 8 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8419, allocations: 153.8 MB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01814/0.8601, allocations: 15.15 MB / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.8705, allocations: 5.933 MB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.872, allocations: 43.81 kB / 1.043 GB, free: 10.83 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.8732, allocations: 309.7 kB / 1.043 GB, free: 10.53 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.8756, allocations: 0.6496 MB / 1.044 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.8788, allocations: 0.8184 MB / 1.045 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005355/0.8842, allocations: 4.431 MB / 1.049 GB, free: 4.617 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.8949, allocations: 5.249 MB / 1.054 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/0.8991, allocations: 1.152 MB / 1.055 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/0.9032, allocations: 1.682 MB / 1.057 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000939/0.9041, allocations: 160 kB / 1.057 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.9061, allocations: 395.6 kB / 1.058 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002479/0.9086, allocations: 1.212 MB / 1.059 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.9101, allocations: 0.5082 MB / 1.059 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006116/0.9162, allocations: 4.638 MB / 1.064 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.9162, allocations: 4 kB / 1.064 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.896e-06/0.9163, allocations: 0 / 1.064 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002108/0.9165, allocations: 0 / 1.064 GB, free: 5.547 MB / 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.006814/0.9233, allocations: 2.223 MB / 1.066 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.9234, allocations: 8.562 kB / 1.066 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/0.9279, allocations: 0.7891 MB / 1.067 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.9312, allocations: 1.399 MB / 1.068 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.9315, allocations: 197.1 kB / 1.068 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009813/0.9325, allocations: 248 kB / 1.068 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.9442, allocations: 4.557 MB / 1.073 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.9444, allocations: 7.938 kB / 1.073 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008742/0.9453, allocations: 116 kB / 1.073 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/0.9456, allocations: 176.3 kB / 1.073 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008112/0.9537, allocations: 3.813 MB / 1.077 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.983, allocations: 21.41 MB / 1.098 GB, free: 412 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.9859, allocations: 2.261 MB / 1.1 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.9871, allocations: 0.7186 MB / 1.101 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.9871, allocations: 16.86 kB / 1.101 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.9872, allocations: 42.5 kB / 1.101 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=62): time 3.246e-06/0.9872, allocations: 0 / 1.101 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=68): time 0.007383/0.9946, allocations: 4.192 MB / 1.105 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.9948, allocations: 247.3 kB / 1.105 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.9966, allocations: 1.096 MB / 1.106 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.9967, allocations: 41.7 kB / 1.106 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009623/0.9976, allocations: 1.183 MB / 1.107 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.9979, allocations: 256.6 kB / 1.108 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.998, allocations: 32.38 kB / 1.108 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.9982, allocations: 410.7 kB / 1.108 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.9994, allocations: 0.6909 MB / 1.109 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/1.001, allocations: 1.399 MB / 1.11 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.003, allocations: 0.9711 MB / 1.111 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/1.003, allocations: 12 kB / 1.111 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003849/1.007, allocations: 2.183 MB / 1.113 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000791/1.007, allocations: 0.7826 MB / 1.114 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/1.007, allocations: 24 kB / 1.114 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-05/1.007, allocations: 39.94 kB / 1.114 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.009, allocations: 435.2 kB / 1.114 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-05/1.009, allocations: 43.86 kB / 1.114 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.01, allocations: 195.4 kB / 1.115 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/1.01, allocations: 79.98 kB / 1.115 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.01, allocations: 4 kB / 1.115 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002827/1.013, allocations: 1.843 MB / 1.117 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.329e-05/1.013, allocations: 24 kB / 1.117 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/1.013, allocations: 36 kB / 1.117 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.015, allocations: 396 kB / 1.117 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.058e-05/1.015, allocations: 51.78 kB / 1.117 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009191/1.016, allocations: 135.5 kB / 1.117 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.016, allocations: 83.98 kB / 1.117 GB, free: 11.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001816/1.018, allocations: 1.125 MB / 1.118 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/1.018, allocations: 102.8 kB / 1.118 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/1.02, allocations: 1.099 MB / 1.12 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.02, allocations: 11.95 kB / 1.12 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.02, allocations: 0 / 1.12 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.02, allocations: 7.984 kB / 1.12 GB, free: 9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/1.034, allocations: 10.18 MB / 1.129 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-05/1.034, allocations: 16 kB / 1.129 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/1.035, allocations: 187.6 kB / 1.13 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.747e-05/1.035, allocations: 20 kB / 1.13 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.473e-05/1.035, allocations: 36.7 kB / 1.13 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.283e-05/1.035, allocations: 23.94 kB / 1.13 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.556e-05/1.035, allocations: 27.88 kB / 1.13 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/1.037, allocations: 2.166 MB / 1.132 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/1.038, allocations: 335.6 kB / 1.132 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/1.038, allocations: 35.98 kB / 1.132 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.039, allocations: 95.88 kB / 1.132 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.039, allocations: 95.59 kB / 1.132 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/1.04, allocations: 51.89 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001274/1.041, allocations: 0.7542 MB / 1.133 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.041, allocations: 0 / 1.133 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003683/1.045, allocations: 0.7227 MB / 1.134 GB, free: 9.762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000336/1.045, allocations: 162.8 kB / 1.134 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004093/1.049, allocations: 2.456 MB / 1.136 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.049, allocations: 4 kB / 1.136 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008569/1.05, allocations: 0.5701 MB / 1.137 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.052, allocations: 243.6 kB / 1.137 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/1.061, allocations: 5.309 MB / 1.142 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/1.063, allocations: 2.003 MB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002189/1.066, allocations: 0.856 MB / 1.145 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/1.066, allocations: 83.42 kB / 1.145 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of SimCode: time 6.91e-07/1.066, allocations: 0 / 1.145 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of Templates: time 0.02611/1.092, allocations: 13.42 MB / 1.158 GB, free: 0.4922 MB / 0.9044 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/jenkins/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