Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00594/0.00594, allocations: 100 kB / 15.73 MB, free: 6.062 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.001192/0.001192, allocations: 192.5 kB / 16.67 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3494, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004293/0.3537, allocations: 2.646 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.3563, allocations: 1.585 MB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3564, allocations: 4 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.3571, allocations: 171.3 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.3575, allocations: 171.3 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.358, allocations: 179.5 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.3583, allocations: 215.4 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.3586, allocations: 97.05 kB / 1.226 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.3587, allocations: 91.67 kB / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.359, allocations: 95.66 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.359, allocations: 12 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.3593, allocations: 215.6 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.3594, allocations: 63.81 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.3595, allocations: 79.59 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.3599, allocations: 306.9 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3599, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3599, allocations: 4 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3599, allocations: 0 / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007891/0.3607, allocations: 486.6 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3608, allocations: 12.02 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.3615, allocations: 88.67 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3618, allocations: 232.1 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3618, allocations: 12.66 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.3619, allocations: 12.38 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.3623, allocations: 303.5 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3624, allocations: 3.938 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.3624, allocations: 4 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.3624, allocations: 24.22 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.3628, allocations: 220.4 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3646, allocations: 1.599 MB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.365, allocations: 307.3 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3651, allocations: 61.62 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3651, allocations: 8 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3652, allocations: 38.48 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3652, allocations: 0 / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005881/0.3658, allocations: 244.9 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3658, allocations: 77.11 kB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.3661, allocations: 211.6 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3661, allocations: 29.7 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3662, allocations: 156.1 kB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.3662, allocations: 35.73 kB / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.3663, allocations: 49.66 kB / 1.23 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3665, allocations: 330.8 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3666, allocations: 76.81 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.3668, allocations: 160.6 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.3671, allocations: 238.9 kB / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3671, allocations: 0 / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005019/0.3676, allocations: 273.2 kB / 1.231 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3677, allocations: 8 kB / 1.231 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3677, allocations: 0 / 1.231 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3677, allocations: 11.97 kB / 1.231 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.368, allocations: 59.89 kB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.368, allocations: 4 kB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.3682, allocations: 28.28 kB / 1.232 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3682, allocations: 12 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002053/0.3684, allocations: 168.1 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001881/0.3686, allocations: 157 kB / 1.232 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002782/0.3689, allocations: 227.8 kB / 1.232 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.3689, allocations: 0 / 1.232 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004271/0.3693, allocations: 249.5 kB / 1.232 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3693, allocations: 12 kB / 1.232 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3693, allocations: 7.938 kB / 1.232 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.3694, allocations: 4 kB / 1.232 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.3696, allocations: 56.03 kB / 1.232 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3696, allocations: 12.39 kB / 1.232 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.3698, allocations: 15.98 kB / 1.232 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3698, allocations: 12 kB / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001119/0.3699, allocations: 192.7 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.37, allocations: 15.91 kB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.3702, allocations: 151 kB / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3702, allocations: 3.938 kB / 1.233 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3702, allocations: 7.938 kB / 1.233 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3702, allocations: 0 / 1.233 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.3712, allocations: 0.7235 MB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3712, allocations: 0 / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.3713, allocations: 23.98 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3713, allocations: 4.344 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3713, allocations: 12 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3713, allocations: 3.938 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3713, allocations: 4 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.3716, allocations: 386.4 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.3717, allocations: 105 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.3717, allocations: 8 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.3719, allocations: 11.98 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.372, allocations: 19.86 kB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.372, allocations: 8 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001808/0.3722, allocations: 157.1 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3722, allocations: 0 / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005066/0.3727, allocations: 72 kB / 1.234 GB, free: 15.08 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001664/0.3728, allocations: 107.2 kB / 1.234 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.3734, allocations: 273 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3734, allocations: 0 / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.3734, allocations: 55.84 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.3739, allocations: 33.38 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.3746, allocations: 430.9 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.375, allocations: 0.7402 MB / 1.236 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.3752, allocations: 81.45 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.3753, allocations: 15.44 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.3753, allocations: 3.938 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.004585/0.3799, allocations: 1.927 MB / 1.238 GB, free: 11.36 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches