Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001275/0.001275, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001383/0.001383, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7787, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.00284/0.7816, allocations: 2.225 MB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.7836, allocations: 1.302 MB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.7837, allocations: 3.938 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.7839, allocations: 15.86 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.7842, allocations: 87.72 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.7846, allocations: 143.5 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.7848, allocations: 123.8 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.7853, allocations: 230 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.7854, allocations: 67.75 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.7856, allocations: 63.75 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.7856, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.7858, allocations: 103.8 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.7859, allocations: 51.89 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.786, allocations: 49.58 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.7862, allocations: 213.4 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.7862, allocations: 4 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7862, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.7863, allocations: 0 / 1.025 GB, free: 12.41 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.0006418/0.7869, allocations: 440.9 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.7869, allocations: 11.98 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000533/0.7875, allocations: 71.73 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.7877, allocations: 221.3 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.7878, allocations: 20.22 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.7878, allocations: 16 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.7882, allocations: 275.7 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.7882, allocations: 3.938 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.7883, allocations: 11.98 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.7883, allocations: 20.22 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.7886, allocations: 208.5 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.7904, allocations: 1.58 MB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.7907, allocations: 327.3 kB / 1.028 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.7908, allocations: 0 / 1.028 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.7908, allocations: 38.5 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.7908, allocations: 4 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005573/0.7914, allocations: 244.5 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.7914, allocations: 77.11 kB / 1.029 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.7916, allocations: 199.4 kB / 1.029 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7917, allocations: 29.7 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.7917, allocations: 151.8 kB / 1.029 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.7918, allocations: 39.45 kB / 1.029 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.7918, allocations: 8.188 kB / 1.029 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7919, allocations: 330.8 kB / 1.03 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.792, allocations: 59.97 kB / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.7922, allocations: 155 kB / 1.03 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.7923, allocations: 83.97 kB / 1.03 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7924, allocations: 4 kB / 1.03 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003619/0.7927, allocations: 261.1 kB / 1.03 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004989/0.7932, allocations: 1.134 MB / 1.031 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7932, allocations: 3.938 kB / 1.031 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7933, allocations: 11.95 kB / 1.031 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.7935, allocations: 52.03 kB / 1.031 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.7935, allocations: 4 kB / 1.031 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.7937, allocations: 19.89 kB / 1.031 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.7937, allocations: 12 kB / 1.031 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.7937, allocations: 4 kB / 1.031 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002849/0.794, allocations: 199.5 kB / 1.031 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.794, allocations: 4 kB / 1.031 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.794, allocations: 4 kB / 1.031 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.7942, allocations: 51.91 kB / 1.032 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7942, allocations: 4.375 kB / 1.032 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.7944, allocations: 11.98 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.7944, allocations: 19.94 kB / 1.032 GB, free: 5.543 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.7945, allocations: 217 kB / 1.032 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.7946, allocations: 15.81 kB / 1.032 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.7948, allocations: 147 kB / 1.032 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.7949, allocations: 0 / 1.032 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7949, allocations: 0 / 1.032 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.7949, allocations: 4 kB / 1.032 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009598/0.7958, allocations: 0.7161 MB / 1.033 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7959, allocations: 4 kB / 1.033 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.796, allocations: 27.91 kB / 1.033 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.796, allocations: 4 kB / 1.033 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.796, allocations: 7.953 kB / 1.033 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.796, allocations: 4 kB / 1.033 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.796, allocations: 7.938 kB / 1.033 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.7964, allocations: 495.6 kB / 1.033 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.7965, allocations: 116.8 kB / 1.033 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.7966, allocations: 4 kB / 1.033 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.7967, allocations: 11.98 kB / 1.033 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.7968, allocations: 11.95 kB / 1.033 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.7968, allocations: 11.98 kB / 1.033 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001433/0.7969, allocations: 145.1 kB / 1.033 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.797, allocations: 0 / 1.033 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004896/0.7974, allocations: 72 kB / 1.034 GB, free: 3.324 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.7976, allocations: 107.2 kB / 1.034 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.798, allocations: 261 kB / 1.034 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.798, allocations: 8.125 kB / 1.034 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.7981, allocations: 59.84 kB / 1.034 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.7984, allocations: 29.34 kB / 1.034 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.7992, allocations: 0.4982 MB / 1.034 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.7995, allocations: 0.744 MB / 1.035 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.7997, allocations: 81.48 kB / 1.035 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.7998, allocations: 23.42 kB / 1.035 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7998, allocations: 0 / 1.035 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.004786/0.8046, allocations: 1.618 MB / 1.037 GB, free: 15.86 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches