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.001366/0.001366, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001372/0.001372, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.544/2.544, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 66.19 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3248, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004853/0.3297, allocations: 2.634 MB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.3326, allocations: 1.582 MB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3328, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.3336, allocations: 179.2 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.3341, allocations: 151.3 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.3346, allocations: 188 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.335, allocations: 211.3 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3353, allocations: 121 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.3355, allocations: 91.67 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.3358, allocations: 95.66 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.3358, allocations: 12 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.3363, allocations: 219.6 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3364, allocations: 67.81 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3365, allocations: 83.58 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.337, allocations: 299.4 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.337, allocations: 0 / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3371, allocations: 8 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3371, allocations: 0 / 1.024 GB, free: 4.719 MB / 0.795 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.0008196/0.3379, allocations: 479 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3379, allocations: 12.03 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/0.3388, allocations: 88.62 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3391, allocations: 216.1 kB / 1.025 GB, free: 3.855 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3391, allocations: 16.66 kB / 1.025 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.3392, allocations: 12.38 kB / 1.025 GB, free: 3.828 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.3397, allocations: 291.6 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3397, allocations: 4 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3397, allocations: 4 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.3398, allocations: 20.23 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.3403, allocations: 224.4 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.3424, allocations: 1.607 MB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3429, allocations: 327.2 kB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.343, allocations: 57.81 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.343, allocations: 4 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3431, allocations: 42.5 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.3431, allocations: 0 / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0006212/0.3437, allocations: 248.6 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.3438, allocations: 81.3 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.3441, allocations: 211.9 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3441, allocations: 25.7 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3442, allocations: 155.7 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3443, allocations: 31.56 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.3444, allocations: 53.59 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3446, allocations: 326.8 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3447, allocations: 76.81 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.345, allocations: 166.1 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.3454, allocations: 234.9 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3454, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005546/0.346, allocations: 277.1 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.346, allocations: 4 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/0.346, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.346, allocations: 8.312 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.3463, allocations: 59.91 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3463, allocations: 7.984 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3466, allocations: 19.92 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3466, allocations: 12 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002416/0.3469, allocations: 168.1 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002196/0.3471, allocations: 156.6 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003227/0.3474, allocations: 227.7 kB / 1.029 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.3475, allocations: 4 kB / 1.029 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004957/0.348, allocations: 253.4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.348, allocations: 8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.348, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.567e-06/0.348, allocations: 8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.3482, allocations: 47.91 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3483, allocations: 12.34 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3485, allocations: 24.23 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3485, allocations: 15.98 kB / 1.03 GB, free: 13.92 MB / 0.8106 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.0001426/0.3487, allocations: 188.2 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.3487, allocations: 15.81 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.349, allocations: 150.9 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3491, allocations: 3.938 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3491, allocations: 0 / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3491, allocations: 3.984 kB / 1.03 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3502, allocations: 0.7238 MB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.3502, allocations: 4 kB / 1.031 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3503, allocations: 31.91 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3503, allocations: 0 / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3504, allocations: 4 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.3504, allocations: 4 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3504, allocations: 7.938 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.3508, allocations: 386.2 kB / 1.031 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3509, allocations: 108.9 kB / 1.031 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.3509, allocations: 4 kB / 1.031 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3512, allocations: 11.98 kB / 1.031 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3512, allocations: 15.92 kB / 1.031 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.3512, allocations: 4 kB / 1.031 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000248/0.3515, allocations: 159.7 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3515, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006217/0.3521, allocations: 68 kB / 1.032 GB, free: 11.89 MB / 0.8106 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.0002263/0.3524, allocations: 123 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007241/0.3531, allocations: 284.2 kB / 1.032 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3531, allocations: 0 / 1.032 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3532, allocations: 61.27 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.3538, allocations: 31.92 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.3547, allocations: 444.6 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.3552, allocations: 0.7402 MB / 1.033 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.3553, allocations: 15.44 kB / 1.033 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3553, allocations: 0 / 1.033 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.005197/0.3605, allocations: 2.327 MB / 1.036 GB, free: 7.797 MB / 0.8106 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/jenkins1/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