Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009623/0.0009623, allocations: 98.48 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.001105/0.001105, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.6829, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01881/0.7018, allocations: 16.04 MB / 0.9714 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.7142, allocations: 6.38 MB / 0.9776 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.7167, allocations: 40.53 kB / 0.9777 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.7181, allocations: 317.8 kB / 0.978 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.7211, allocations: 0.8201 MB / 0.9788 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.7245, allocations: 1.068 MB / 0.9798 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007146/0.7317, allocations: 5.803 MB / 0.9855 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009996/0.7417, allocations: 6.142 MB / 0.9915 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.7443, allocations: 1.132 MB / 0.9926 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.7478, allocations: 1.721 MB / 0.9943 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007241/0.7486, allocations: 160 kB / 0.9944 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.7509, allocations: 0.776 MB / 0.9952 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.7529, allocations: 1.22 MB / 0.9964 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.7555, allocations: 1.246 MB / 0.9976 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005693/0.7613, allocations: 4.669 MB / 1.002 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.7613, allocations: 4 kB / 1.002 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7613, allocations: 0 / 1.002 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001931/0.7615, allocations: 0 / 1.002 GB, free: 15.68 MB / 0.7637 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.007046/0.7685, allocations: 2.203 MB / 1.004 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.7686, allocations: 12.03 kB / 1.004 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005701/0.7743, allocations: 0.9265 MB / 1.005 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.7772, allocations: 1.415 MB / 1.007 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.7774, allocations: 193.5 kB / 1.007 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008949/0.7783, allocations: 248.4 kB / 1.007 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.789, allocations: 4.654 MB / 1.012 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.7891, allocations: 7.938 kB / 1.012 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006645/0.7898, allocations: 112 kB / 1.012 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/0.7901, allocations: 172.3 kB / 1.012 GB, free: 5.449 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008181/0.7983, allocations: 3.93 MB / 1.016 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.8253, allocations: 21.57 MB / 1.037 GB, free: 10.03 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.828, allocations: 2.253 MB / 1.039 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.8292, allocations: 0.7082 MB / 1.04 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.8293, allocations: 11.98 kB / 1.04 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.8293, allocations: 46.5 kB / 1.04 GB, free: 6.691 MB / 0.795 GB Notification: Performance of pre-optimization done (n=62): time 2.975e-06/0.8293, allocations: 0 / 1.04 GB, free: 6.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.007171/0.8365, allocations: 4.204 MB / 1.044 GB, free: 2.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.8367, allocations: 239.3 kB / 1.044 GB, free: 2.148 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.8388, allocations: 1.171 MB / 1.045 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.8389, allocations: 37.7 kB / 1.045 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008158/0.8397, allocations: 1.184 MB / 1.046 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.84, allocations: 252.6 kB / 1.047 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.8402, allocations: 129.6 kB / 1.047 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8404, allocations: 341.9 kB / 1.047 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.8418, allocations: 0.7455 MB / 1.048 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.8436, allocations: 1.438 MB / 1.049 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.8467, allocations: 2.201 MB / 1.051 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/0.8467, allocations: 8 kB / 1.051 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004164/0.8509, allocations: 2.266 MB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006832/0.8516, allocations: 0.7912 MB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/0.8516, allocations: 24 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-05/0.8517, allocations: 36 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.8535, allocations: 447.2 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.238e-05/0.8535, allocations: 47.8 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.8555, allocations: 227.3 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.8557, allocations: 91.97 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.8557, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003494/0.8592, allocations: 1.941 MB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.036e-05/0.8593, allocations: 24 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.936e-05/0.8593, allocations: 35.98 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.8608, allocations: 403.8 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.094e-05/0.8608, allocations: 59.72 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.8622, allocations: 159.4 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.8624, allocations: 83.98 kB / 1.058 GB, free: 2.977 MB / 0.8106 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.001984/0.8644, allocations: 1.137 MB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.8648, allocations: 110.7 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.8666, allocations: 1.085 MB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.8667, allocations: 11.94 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.8667, allocations: 7.984 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.8667, allocations: 8 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8809, allocations: 10.19 MB / 1.07 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.395e-05/0.881, allocations: 16 kB / 1.07 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.8818, allocations: 191.7 kB / 1.07 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.452e-05/0.8819, allocations: 23.98 kB / 1.07 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.882, allocations: 35.98 kB / 1.07 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.974e-05/0.882, allocations: 31.86 kB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.898e-05/0.882, allocations: 23.88 kB / 1.07 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.8846, allocations: 2.155 MB / 1.072 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/0.8854, allocations: 351.5 kB / 1.073 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.8857, allocations: 31.98 kB / 1.073 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.887, allocations: 115.8 kB / 1.073 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.8872, allocations: 99.55 kB / 1.073 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.8873, allocations: 40 kB / 1.073 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001662/0.8889, allocations: 0.8088 MB / 1.074 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.8889, allocations: 0 / 1.074 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004116/0.8931, allocations: 0.7422 MB / 1.075 GB, free: 1.242 MB / 0.8262 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.0003462/0.8934, allocations: 158.8 kB / 1.075 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004742/0.8982, allocations: 2.566 MB / 1.077 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/0.8982, allocations: 7.938 kB / 1.077 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008705/0.8991, allocations: 0.5703 MB / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/0.9036, allocations: 239.9 kB / 1.078 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009735/0.9134, allocations: 5.927 MB / 1.084 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/0.916, allocations: 2.067 MB / 1.086 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/0.9166, allocations: 107.4 kB / 1.086 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of SimCode: time 9.72e-07/0.9166, allocations: 0 / 1.086 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of Templates: time 0.04176/0.9583, allocations: 25.52 MB / 1.111 GB, free: 11.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches