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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009346/0.0009343, allocations: 98.03 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.007686/0.007686, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.516/1.516, 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 9.1.3-maint.9.1.x/package.mo): time 2.468/2.468, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8436, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01797/0.8616, allocations: 16.03 MB / 0.9707 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.875, allocations: 6.384 MB / 0.9769 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.8772, allocations: 40.28 kB / 0.977 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.8789, allocations: 317.2 kB / 0.9773 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.8824, allocations: 0.8132 MB / 0.9781 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.8865, allocations: 1.076 MB / 0.9791 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007013/0.8935, allocations: 5.798 MB / 0.9848 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01144/0.905, allocations: 6.155 MB / 0.9908 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.9079, allocations: 1.125 MB / 0.9919 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.9115, allocations: 1.725 MB / 0.9936 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008172/0.9123, allocations: 160 kB / 0.9937 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.9148, allocations: 0.7721 MB / 0.9945 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.9172, allocations: 1.22 MB / 0.9957 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.9199, allocations: 1.246 MB / 0.9969 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006754/0.9267, allocations: 5.298 MB / 1.002 GB, free: 15 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9267, allocations: 4 kB / 1.002 GB, free: 15 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9267, allocations: 0 / 1.002 GB, free: 15 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001115/0.9269, allocations: 3.938 kB / 1.002 GB, free: 15 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.004612/0.9315, allocations: 2.207 MB / 1.004 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9315, allocations: 8.031 kB / 1.004 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.9367, allocations: 0.9265 MB / 1.005 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.9392, allocations: 1.415 MB / 1.007 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.9394, allocations: 197.5 kB / 1.007 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005057/0.9399, allocations: 248.3 kB / 1.007 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008901/0.9488, allocations: 4.642 MB / 1.011 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.453e-05/0.9489, allocations: 11.88 kB / 1.011 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.9493, allocations: 112 kB / 1.012 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/0.9495, allocations: 184.2 kB / 1.012 GB, free: 4.754 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007604/0.9571, allocations: 3.922 MB / 1.016 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02499/0.9822, allocations: 21.57 MB / 1.037 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.9849, allocations: 2.246 MB / 1.039 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.986, allocations: 0.7206 MB / 1.04 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.986, allocations: 15.92 kB / 1.04 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.986, allocations: 50.5 kB / 1.04 GB, free: 5.996 MB / 0.795 GB Notification: Performance of pre-optimization done (n=62): time 2.535e-06/0.9861, allocations: 0 / 1.04 GB, free: 5.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.005838/0.9919, allocations: 4.197 MB / 1.044 GB, free: 1.75 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.992, allocations: 239.3 kB / 1.044 GB, free: 1.461 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.9938, allocations: 1.174 MB / 1.045 GB, free: 268 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.9939, allocations: 37.7 kB / 1.045 GB, free: 224 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/0.9947, allocations: 1.18 MB / 1.046 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.9949, allocations: 256.5 kB / 1.047 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.9951, allocations: 121.7 kB / 1.047 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9952, allocations: 345.9 kB / 1.047 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.9965, allocations: 0.7494 MB / 1.048 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.9982, allocations: 1.442 MB / 1.049 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/1.001, allocations: 2.193 MB / 1.051 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.001, allocations: 8 kB / 1.051 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003778/1.005, allocations: 2.269 MB / 1.053 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005162/1.005, allocations: 0.7826 MB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/1.005, allocations: 31.98 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.142e-05/1.005, allocations: 32 kB / 1.054 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.007, allocations: 451.2 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.101e-05/1.007, allocations: 55.78 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.009, allocations: 231.3 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/1.009, allocations: 87.97 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.009, allocations: 4 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003225/1.012, allocations: 1.93 MB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/1.012, allocations: 28.06 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/1.012, allocations: 35.94 kB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.014, allocations: 403.3 kB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.925e-05/1.014, allocations: 55.78 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.015, allocations: 155.5 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.015, allocations: 87.97 kB / 1.058 GB, free: 2.289 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.001931/1.017, allocations: 1.129 MB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/1.018, allocations: 110.6 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.019, allocations: 1.094 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.019, allocations: 11.94 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.02, allocations: 4 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.02, allocations: 7.922 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.034, allocations: 10.2 MB / 1.07 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.034, allocations: 16 kB / 1.07 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/1.034, allocations: 191.7 kB / 1.07 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-05/1.034, allocations: 28 kB / 1.07 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/1.035, allocations: 28.38 kB / 1.07 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.497e-05/1.035, allocations: 35.8 kB / 1.07 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/1.035, allocations: 27.88 kB / 1.07 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/1.037, allocations: 2.162 MB / 1.072 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/1.038, allocations: 347.5 kB / 1.073 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/1.038, allocations: 35.98 kB / 1.073 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.039, allocations: 99.86 kB / 1.073 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.039, allocations: 111.5 kB / 1.073 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/1.039, allocations: 36 kB / 1.073 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001367/1.04, allocations: 0.8166 MB / 1.074 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/1.04, allocations: 0 / 1.074 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003047/1.044, allocations: 0.7383 MB / 1.075 GB, free: 0.5469 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.000261/1.044, allocations: 150.8 kB / 1.075 GB, free: 400 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004103/1.048, allocations: 2.574 MB / 1.077 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.048, allocations: 8.125 kB / 1.077 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/1.049, allocations: 0.5609 MB / 1.078 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/1.052, allocations: 254.9 kB / 1.078 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/1.06, allocations: 5.506 MB / 1.083 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.062, allocations: 2.003 MB / 1.085 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002285/1.064, allocations: 0.8833 MB / 1.086 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/1.064, allocations: 91.41 kB / 1.086 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/1.064, allocations: 0 / 1.086 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.02604/1.091, allocations: 14.49 MB / 1.1 GB, free: 5.859 MB / 0.8575 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/jenkins/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