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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00172/0.00172, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.88/2.88, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.92 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3988, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.00439/0.4032, allocations: 2.682 MB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.4057, allocations: 1.593 MB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.4059, allocations: 3.938 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.4065, allocations: 167.1 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.4069, allocations: 135.5 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.4073, allocations: 163.6 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.4077, allocations: 315.2 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.408, allocations: 133 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.4082, allocations: 75.7 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.4084, allocations: 99.64 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.4084, allocations: 12 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.4088, allocations: 251.5 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.4089, allocations: 63.81 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.409, allocations: 79.58 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.4094, allocations: 307.4 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4094, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4094, allocations: 3.938 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.4094, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 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.0007251/0.4101, allocations: 483 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4102, allocations: 15.97 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/0.411, allocations: 88.64 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.4112, allocations: 220.1 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4113, allocations: 16.64 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.4113, allocations: 8.375 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.4118, allocations: 291.6 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4118, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.4118, allocations: 11.98 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.4119, allocations: 20.16 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.4123, allocations: 216.5 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.4141, allocations: 1.603 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.4145, allocations: 315.3 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.4146, allocations: 65.67 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4146, allocations: 8.141 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.4147, allocations: 38.5 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.4147, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005571/0.4152, allocations: 240.6 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4153, allocations: 81.11 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.4156, allocations: 207.3 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4156, allocations: 33.7 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.4157, allocations: 147.7 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.4157, allocations: 43.66 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.4158, allocations: 57.59 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4159, allocations: 322.8 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4161, allocations: 80.81 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.4163, allocations: 156.6 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4167, allocations: 242.9 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4167, allocations: 0 / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004831/0.4172, allocations: 273.6 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4172, allocations: 4 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4172, allocations: 8 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.4172, allocations: 11.92 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4175, allocations: 55.84 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4175, allocations: 4 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.4178, allocations: 27.91 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.4178, allocations: 8 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002117/0.418, allocations: 176 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000186/0.4182, allocations: 158.3 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000261/0.4185, allocations: 219.7 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.562e-06/0.4185, allocations: 0 / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004313/0.4189, allocations: 245.2 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4189, allocations: 8.938 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.419, allocations: 7.984 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.419, allocations: 12.28 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.4192, allocations: 51.97 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4192, allocations: 11.88 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.4194, allocations: 19.98 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4194, allocations: 8 kB / 1.064 GB, free: 11.98 MB / 0.8262 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.0001048/0.4195, allocations: 192.1 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.4196, allocations: 23.8 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.4199, allocations: 147.5 kB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4199, allocations: 7.922 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4199, allocations: 0 / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4199, allocations: 4 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009132/0.4208, allocations: 0.7157 MB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4208, allocations: 4 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4209, allocations: 27.98 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.421, allocations: 4 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.421, allocations: 0 / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.421, allocations: 11.92 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.421, allocations: 4.422 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.4213, allocations: 382.4 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.4214, allocations: 108.9 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.4214, allocations: 7.984 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.4216, allocations: 7.984 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.4217, allocations: 19.94 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4217, allocations: 4 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001685/0.4219, allocations: 161.1 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4219, allocations: 0 / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005133/0.4224, allocations: 72 kB / 1.066 GB, free: 9.945 MB / 0.8262 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.0001525/0.4226, allocations: 115.2 kB / 1.066 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.4231, allocations: 277 kB / 1.066 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4231, allocations: 0 / 1.066 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.4232, allocations: 64.34 kB / 1.066 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.4237, allocations: 41.45 kB / 1.066 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.4244, allocations: 483.5 kB / 1.067 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4247, allocations: 0.7362 MB / 1.068 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.425, allocations: 77.47 kB / 1.068 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.425, allocations: 15.44 kB / 1.068 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.425, allocations: 4 kB / 1.068 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.004622/0.4297, allocations: 1.809 MB / 1.069 GB, free: 6.301 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches