Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001414/0.001414, allocations: 108 kB / 15.61 MB, free: 148 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.00148/0.00148, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.406 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 2.804/2.804, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6621, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005547/0.6677, allocations: 2.623 MB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.6708, allocations: 1.586 MB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.6709, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.6718, allocations: 167.3 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.6723, allocations: 155.3 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.6728, allocations: 183.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.6731, allocations: 219.3 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.6735, allocations: 117 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.6736, allocations: 83.77 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.6739, allocations: 107.6 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.6739, allocations: 12 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.6743, allocations: 215.7 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.6744, allocations: 67.69 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.6745, allocations: 83.58 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.675, allocations: 301.1 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.675, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.422e-06/0.675, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.675, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 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.0008385/0.6759, allocations: 484.5 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6759, allocations: 8.031 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000829/0.6768, allocations: 84.55 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.6771, allocations: 229.9 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.6771, allocations: 8.656 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.6771, allocations: 12.38 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.6777, allocations: 299.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6777, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.6778, allocations: 11.94 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.6778, allocations: 20.23 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.6783, allocations: 225.6 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.6803, allocations: 1.599 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.6808, allocations: 311.3 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.681, allocations: 77.61 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.681, allocations: 4 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.681, allocations: 34.56 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.681, allocations: 0 / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000653/0.6817, allocations: 252.8 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.6818, allocations: 77.11 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.6821, allocations: 215.5 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.6821, allocations: 25.7 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.6822, allocations: 151.6 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.6823, allocations: 39.55 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.6824, allocations: 49.59 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6825, allocations: 330.8 kB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.6827, allocations: 80.81 kB / 1.028 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.683, allocations: 156 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.6833, allocations: 242.8 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6833, allocations: 0 / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005518/0.6839, allocations: 261.2 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6839, allocations: 11.98 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.684, allocations: 0 / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.684, allocations: 11.94 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.6843, allocations: 51.91 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.6843, allocations: 11.94 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.6845, allocations: 28.31 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.6846, allocations: 20 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000238/0.6848, allocations: 167.4 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000226/0.685, allocations: 155.9 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003392/0.6854, allocations: 231.7 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.6854, allocations: 0 / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004849/0.6859, allocations: 245.5 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.6859, allocations: 8 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6859, allocations: 4.047 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.6859, allocations: 7.984 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.6862, allocations: 47.91 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6862, allocations: 7.938 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6864, allocations: 27.83 kB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.6864, allocations: 12 kB / 1.029 GB, free: 5.789 MB / 0.7794 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.0001367/0.6866, allocations: 196.2 kB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.6866, allocations: 11.91 kB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.6869, allocations: 150.8 kB / 1.029 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6869, allocations: 3.938 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6869, allocations: 4 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.687, allocations: 0 / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.688, allocations: 0.7235 MB / 1.03 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.688, allocations: 0 / 1.03 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.6882, allocations: 32.25 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6882, allocations: 8 kB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6882, allocations: 8 kB / 1.03 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.6882, allocations: 4 kB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6882, allocations: 0 / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.6886, allocations: 378.4 kB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6887, allocations: 108.9 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.6888, allocations: 8 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.689, allocations: 15.98 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.689, allocations: 11.88 kB / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.689, allocations: 11.98 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002115/0.6893, allocations: 156.8 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6893, allocations: 0 / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005111/0.6898, allocations: 72 kB / 1.031 GB, free: 3.754 MB / 0.7794 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.0001619/0.69, allocations: 107.2 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005823/0.6905, allocations: 284.7 kB / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6906, allocations: 4 kB / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.6907, allocations: 63.83 kB / 1.031 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.6912, allocations: 32.48 kB / 1.031 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.6919, allocations: 415.7 kB / 1.032 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.6924, allocations: 0.7324 MB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.6926, allocations: 81.47 kB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.6927, allocations: 19.42 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6927, allocations: 0 / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.005257/0.698, allocations: 1.882 MB / 1.034 GB, free: 84 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches