Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006213/0.006213, allocations: 105.1 kB / 15.74 MB, free: 6.012 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.001193/0.001193, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 67.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004103/1.015, allocations: 2.623 MB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002564/1.018, allocations: 1.575 MB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/1.018, allocations: 2.75 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007694/1.018, allocations: 179.4 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000451/1.019, allocations: 158.7 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/1.019, allocations: 182.4 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/1.02, allocations: 216 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/1.02, allocations: 128 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/1.02, allocations: 89.78 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/1.021, allocations: 100.8 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/1.021, allocations: 15.09 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/1.021, allocations: 213.2 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/1.021, allocations: 66.98 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/1.021, allocations: 75 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004712/1.022, allocations: 306.1 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/1.022, allocations: 1.797 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/1.022, allocations: 0 / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.022, allocations: 0.7188 kB / 1.094 GB, free: 1.941 MB / 0.8575 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.0006562/1.022, allocations: 473.5 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.022, allocations: 10.84 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/1.023, allocations: 88.47 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/1.023, allocations: 231.6 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/1.023, allocations: 15.28 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/1.024, allocations: 12.81 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/1.024, allocations: 300.7 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.024, allocations: 2.203 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/1.024, allocations: 6.219 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/1.024, allocations: 19.81 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/1.025, allocations: 227 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/1.027, allocations: 1.597 MB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/1.027, allocations: 314.7 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/1.027, allocations: 63.67 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/1.027, allocations: 2.562 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/1.027, allocations: 40.11 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/1.027, allocations: 4.844 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006657/1.028, allocations: 242 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/1.028, allocations: 83.55 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/1.028, allocations: 209.3 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.028, allocations: 27.08 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.028, allocations: 157.5 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/1.028, allocations: 37.05 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.029, allocations: 54.72 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.029, allocations: 325.9 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/1.029, allocations: 76.53 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/1.029, allocations: 158.7 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/1.03, allocations: 239.1 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.03, allocations: 1.125 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005499/1.03, allocations: 270.5 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.03, allocations: 6.938 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.03, allocations: 7.188 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.03, allocations: 8.812 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/1.03, allocations: 52.8 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.03, allocations: 9.141 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/1.031, allocations: 26.2 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/1.031, allocations: 13.56 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002341/1.031, allocations: 168.4 kB / 1.099 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002026/1.031, allocations: 152.3 kB / 1.099 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003245/1.032, allocations: 222 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/1.032, allocations: 2.344 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005048/1.032, allocations: 257.6 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.032, allocations: 6.594 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.032, allocations: 3.125 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/1.032, allocations: 5.016 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/1.032, allocations: 50.19 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.032, allocations: 14.19 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/1.033, allocations: 21.62 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/1.033, allocations: 10.95 kB / 1.1 GB, free: 13.29 MB / 0.8731 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.0001298/1.033, allocations: 194.8 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/1.033, allocations: 15.27 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/1.033, allocations: 145.5 kB / 1.1 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/1.033, allocations: 9.938 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.033, allocations: 1.156 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/1.033, allocations: 0.7031 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/1.034, allocations: 0.7233 MB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.034, allocations: 2.094 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.034, allocations: 26.73 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.034, allocations: 3.875 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.034, allocations: 4.531 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.034, allocations: 3.516 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.034, allocations: 7.359 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/1.035, allocations: 387.7 kB / 1.101 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/1.035, allocations: 109.5 kB / 1.101 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/1.035, allocations: 4.594 kB / 1.101 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/1.035, allocations: 14.53 kB / 1.101 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/1.035, allocations: 16.55 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/1.035, allocations: 9.469 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002029/1.035, allocations: 162.6 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/1.035, allocations: 3.938 kB / 1.102 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005626/1.036, allocations: 71.06 kB / 1.102 GB, free: 11.86 MB / 0.8731 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.0001756/1.036, allocations: 105.5 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005896/1.037, allocations: 278.9 kB / 1.102 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.037, allocations: 2.188 kB / 1.102 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/1.037, allocations: 62.42 kB / 1.102 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/1.037, allocations: 37.27 kB / 1.102 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/1.038, allocations: 422.5 kB / 1.102 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.039, allocations: 0.7328 MB / 1.103 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002387/1.039, allocations: 80.28 kB / 1.103 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/1.039, allocations: 17.88 kB / 1.103 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of SimCode: time 2.194e-06/1.039, allocations: 4 kB / 1.103 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.006223/1.045, allocations: 1.917 MB / 1.105 GB, free: 10.48 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches