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.001141/0.001141, allocations: 97.64 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.009388/0.009388, allocations: 171.4 kB / 16.27 MB, free: 6.652 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.545/1.545, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 3.03/3.03, allocations: 470.6 MB / 0.7441 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 8.562 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3688, allocations: 161.4 MB / 1.07 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003791/0.3726, allocations: 2.326 MB / 1.072 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3754, allocations: 1.566 MB / 1.074 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.3755, allocations: 4 kB / 1.074 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.3757, allocations: 23.78 kB / 1.074 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.3762, allocations: 139.5 kB / 1.074 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.3766, allocations: 168.4 kB / 1.074 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000395/0.377, allocations: 319.1 kB / 1.074 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.3776, allocations: 238 kB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3777, allocations: 71.7 kB / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.378, allocations: 99.59 kB / 1.075 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.378, allocations: 4 kB / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.3784, allocations: 259.5 kB / 1.075 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.275e-05/0.3785, allocations: 55.88 kB / 1.075 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3786, allocations: 93.31 kB / 1.075 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.3791, allocations: 303.3 kB / 1.075 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3791, allocations: 0 / 1.075 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.175e-06/0.3791, allocations: 4 kB / 1.075 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3791, allocations: 0 / 1.075 GB, free: 5.668 MB / 0.8262 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.0008192/0.3799, allocations: 451.2 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.38, allocations: 8.031 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.3808, allocations: 84.64 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.3812, allocations: 228 kB / 1.076 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3812, allocations: 12.66 kB / 1.076 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.3812, allocations: 12.38 kB / 1.076 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.3818, allocations: 307.5 kB / 1.076 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3819, allocations: 3.938 kB / 1.076 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.3819, allocations: 4 kB / 1.076 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.3819, allocations: 24.22 kB / 1.076 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.3824, allocations: 220.4 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.3846, allocations: 1.599 MB / 1.078 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.3851, allocations: 319.2 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3852, allocations: 65.69 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3852, allocations: 3.938 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3853, allocations: 38.55 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3853, allocations: 0 / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0006125/0.3859, allocations: 240.5 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.386, allocations: 85.19 kB / 1.079 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.3862, allocations: 207.5 kB / 1.079 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3863, allocations: 25.7 kB / 1.079 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3864, allocations: 151.7 kB / 1.079 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.3865, allocations: 47.64 kB / 1.079 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.3865, allocations: 17.72 kB / 1.079 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3867, allocations: 330.8 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3868, allocations: 71.95 kB / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3871, allocations: 163 kB / 1.08 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.3875, allocations: 234.9 kB / 1.08 GB, free: 320 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3875, allocations: 0 / 1.08 GB, free: 320 kB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000532/0.388, allocations: 269.2 kB / 1.08 GB, free: 44 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.3882, allocations: 175.6 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3882, allocations: 8.031 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3882, allocations: 7.984 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3885, allocations: 51.91 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3885, allocations: 7.938 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.3888, allocations: 35.81 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.3888, allocations: 8.125 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3889, allocations: 4 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004278/0.3893, allocations: 211.9 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3893, allocations: 7.938 kB / 1.081 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.3893, allocations: 4 kB / 1.081 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.3895, allocations: 51.91 kB / 1.081 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3895, allocations: 8.406 kB / 1.081 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3897, allocations: 19.92 kB / 1.081 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.3898, allocations: 8 kB / 1.081 GB, free: 15.4 MB / 0.8419 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.0001953/0.39, allocations: 225.2 kB / 1.081 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.39, allocations: 15.81 kB / 1.081 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3903, allocations: 147 kB / 1.081 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3903, allocations: 0 / 1.081 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3903, allocations: 3.938 kB / 1.081 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3904, allocations: 0 / 1.081 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3914, allocations: 0.7235 MB / 1.082 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3914, allocations: 4 kB / 1.082 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3915, allocations: 23.98 kB / 1.082 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3915, allocations: 4.328 kB / 1.082 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3915, allocations: 12 kB / 1.082 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3915, allocations: 4 kB / 1.082 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3916, allocations: 7.938 kB / 1.082 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.3919, allocations: 378.1 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.392, allocations: 108.9 kB / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.3921, allocations: 11.94 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3923, allocations: 11.98 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.3923, allocations: 19.92 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3923, allocations: 4 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001885/0.3925, allocations: 153.1 kB / 1.083 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3925, allocations: 0 / 1.083 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005414/0.3931, allocations: 72 kB / 1.083 GB, free: 13.34 MB / 0.8419 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.0001673/0.3933, allocations: 119.1 kB / 1.083 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005385/0.3938, allocations: 273.2 kB / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3938, allocations: 4.062 kB / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.3939, allocations: 59.84 kB / 1.083 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.3945, allocations: 31.97 kB / 1.083 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.3953, allocations: 0.4935 MB / 1.084 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3957, allocations: 0.7324 MB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.3959, allocations: 85.44 kB / 1.085 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.396, allocations: 15.44 kB / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.396, allocations: 0 / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.00527/0.4013, allocations: 1.793 MB / 1.086 GB, free: 9.672 MB / 0.8419 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=400 -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