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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001188/0.001188, allocations: 91.77 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.008631/0.008631, allocations: 171.5 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.587/1.587, 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.1-maint.10.0.x/package.mo): time 3.025/3.025, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004497, allocations: 12 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.682, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02211/0.7041, allocations: 16.04 MB / 1.039 GB, free: 15.71 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.717, allocations: 6.392 MB / 1.045 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.7187, allocations: 47.81 kB / 1.045 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.7201, allocations: 313.7 kB / 1.045 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.723, allocations: 0.8213 MB / 1.046 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.7265, allocations: 1.06 MB / 1.047 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007833/0.7343, allocations: 5.793 MB / 1.053 GB, free: 1.262 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.7457, allocations: 6.14 MB / 1.059 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.7481, allocations: 1.132 MB / 1.06 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.7516, allocations: 1.725 MB / 1.062 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007902/0.7524, allocations: 160 kB / 1.062 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.7556, allocations: 0.7683 MB / 1.062 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003343/0.759, allocations: 1.22 MB / 1.064 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003561/0.7626, allocations: 1.242 MB / 1.065 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.008074/0.7707, allocations: 5.306 MB / 1.07 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7707, allocations: 3.938 kB / 1.07 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7707, allocations: 0 / 1.07 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001916/0.7709, allocations: 0 / 1.07 GB, free: 15.44 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.006597/0.7775, allocations: 2.209 MB / 1.072 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.7776, allocations: 8.031 kB / 1.072 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/0.7837, allocations: 0.9304 MB / 1.073 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.7873, allocations: 1.419 MB / 1.075 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.7876, allocations: 189.5 kB / 1.075 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.7887, allocations: 248.4 kB / 1.075 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.8, allocations: 4.65 MB / 1.079 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.052e-05/0.8002, allocations: 7.938 kB / 1.08 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004012/0.8006, allocations: 108 kB / 1.08 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000253/0.8008, allocations: 180.2 kB / 1.08 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007989/0.8088, allocations: 3.925 MB / 1.084 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02956/0.8384, allocations: 21.57 MB / 1.105 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.8415, allocations: 2.253 MB / 1.107 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.8427, allocations: 0.7155 MB / 1.108 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/0.8427, allocations: 24.78 kB / 1.108 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.8428, allocations: 42.56 kB / 1.108 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=62): time 2.926e-06/0.8428, allocations: 0 / 1.108 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=68): time 0.006678/0.8495, allocations: 4.19 MB / 1.112 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.8497, allocations: 251.4 kB / 1.112 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.8517, allocations: 1.166 MB / 1.113 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-05/0.8518, allocations: 37.7 kB / 1.113 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009602/0.8528, allocations: 1.191 MB / 1.114 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.8531, allocations: 252.6 kB / 1.115 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.8533, allocations: 121.7 kB / 1.115 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.8535, allocations: 349.8 kB / 1.115 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.8548, allocations: 0.7455 MB / 1.116 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.8569, allocations: 1.446 MB / 1.117 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/0.8601, allocations: 2.189 MB / 1.119 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.8601, allocations: 4 kB / 1.119 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004358/0.8645, allocations: 2.273 MB / 1.121 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000889/0.8654, allocations: 0.7867 MB / 1.122 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.8654, allocations: 24 kB / 1.122 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.989e-05/0.8655, allocations: 32 kB / 1.122 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.8672, allocations: 447.2 kB / 1.123 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.457e-05/0.8673, allocations: 51.84 kB / 1.123 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.8693, allocations: 239.2 kB / 1.123 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.8694, allocations: 87.97 kB / 1.123 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8695, allocations: 5.562 kB / 1.123 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003714/0.8732, allocations: 1.929 MB / 1.125 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.8732, allocations: 24.97 kB / 1.125 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.8733, allocations: 32 kB / 1.125 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.8746, allocations: 411.3 kB / 1.125 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-05/0.8747, allocations: 55.73 kB / 1.125 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.8761, allocations: 151.5 kB / 1.126 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.8762, allocations: 87.97 kB / 1.126 GB, free: 2.734 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.002109/0.8783, allocations: 1.129 MB / 1.127 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.8787, allocations: 106.7 kB / 1.127 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.8806, allocations: 1.094 MB / 1.128 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.8807, allocations: 11.94 kB / 1.128 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8807, allocations: 4 kB / 1.128 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.8807, allocations: 7.984 kB / 1.128 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.8954, allocations: 10.2 MB / 1.138 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.8954, allocations: 16 kB / 1.138 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.8962, allocations: 191.6 kB / 1.138 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-05/0.8962, allocations: 23.94 kB / 1.138 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.8963, allocations: 32.72 kB / 1.138 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-05/0.8963, allocations: 27.92 kB / 1.138 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.933e-05/0.8963, allocations: 31.88 kB / 1.138 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.8989, allocations: 2.166 MB / 1.14 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/0.8995, allocations: 351.8 kB / 1.141 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.8997, allocations: 39.98 kB / 1.141 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.9008, allocations: 103.8 kB / 1.141 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.901, allocations: 99.56 kB / 1.141 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.9011, allocations: 43.98 kB / 1.141 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001445/0.9025, allocations: 0.8166 MB / 1.142 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9025, allocations: 0 / 1.142 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003103/0.9056, allocations: 0.7344 MB / 1.143 GB, free: 1 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.0002743/0.9059, allocations: 159.3 kB / 1.143 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004727/0.9106, allocations: 2.569 MB / 1.145 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/0.9107, allocations: 4 kB / 1.145 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008897/0.9116, allocations: 0.566 MB / 1.146 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/0.9156, allocations: 253.7 kB / 1.146 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008588/0.9242, allocations: 5.502 MB / 1.151 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.9266, allocations: 2.011 MB / 1.153 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002551/0.9291, allocations: 0.8833 MB / 1.154 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.9295, allocations: 91.41 kB / 1.154 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of SimCode: time 8.12e-07/0.9295, allocations: 0 / 1.154 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of Templates: time 0.02916/0.9586, allocations: 14.48 MB / 1.168 GB, free: 6.309 MB / 0.92 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=400 -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