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.001253/0.001253, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001196/0.001196, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.557/2.557, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.05 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3007, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004073/0.3048, allocations: 2.667 MB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.3072, allocations: 1.574 MB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.3073, allocations: 4 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.3079, allocations: 167.4 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.3083, allocations: 127.5 kB / 1.069 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.3087, allocations: 171 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.309, allocations: 215.3 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.3093, allocations: 151.1 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3094, allocations: 91.61 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.3096, allocations: 107.7 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3097, allocations: 16 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.31, allocations: 207.6 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.3101, allocations: 67.8 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.3102, allocations: 75.61 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.3105, allocations: 231.8 kB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3105, allocations: 0 / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3105, allocations: 0 / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.3105, allocations: 0 / 1.07 GB, free: 9.262 MB / 0.8419 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.0006752/0.3112, allocations: 483 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3112, allocations: 12.03 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.312, allocations: 92.62 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.3122, allocations: 220.1 kB / 1.071 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3122, allocations: 8.594 kB / 1.071 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.3123, allocations: 16.36 kB / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.3128, allocations: 299.5 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3128, allocations: 3.906 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.3129, allocations: 8 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.3129, allocations: 16.22 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.3133, allocations: 224.4 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3152, allocations: 1.599 MB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.3156, allocations: 323.2 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3157, allocations: 69.67 kB / 1.073 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3157, allocations: 0 / 1.073 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3157, allocations: 34.56 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.3157, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0005325/0.3163, allocations: 248.6 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.3164, allocations: 81.11 kB / 1.073 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.3166, allocations: 211.3 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3166, allocations: 25.7 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.3167, allocations: 159.8 kB / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3168, allocations: 31.56 kB / 1.074 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.3169, allocations: 53.59 kB / 1.074 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.317, allocations: 322.8 kB / 1.074 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3172, allocations: 80.81 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3174, allocations: 159 kB / 1.074 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.3177, allocations: 242.9 kB / 1.075 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3178, allocations: 0 / 1.075 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000495/0.3183, allocations: 285.1 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3183, allocations: 8 kB / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3183, allocations: 128 / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3183, allocations: 7.938 kB / 1.075 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.3186, allocations: 55.91 kB / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3186, allocations: 7.984 kB / 1.075 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.3188, allocations: 23.92 kB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.3189, allocations: 12.22 kB / 1.075 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002074/0.3191, allocations: 168.1 kB / 1.075 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001989/0.3193, allocations: 157.1 kB / 1.075 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002876/0.3196, allocations: 215.8 kB / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/0.3196, allocations: 4 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004349/0.32, allocations: 249 kB / 1.076 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.3201, allocations: 8 kB / 1.076 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3201, allocations: 4.406 kB / 1.076 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.3201, allocations: 8 kB / 1.076 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.3203, allocations: 55.84 kB / 1.076 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3203, allocations: 11.88 kB / 1.076 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.3205, allocations: 19.98 kB / 1.076 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3206, allocations: 11.98 kB / 1.076 GB, free: 2.453 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.000118/0.3207, allocations: 188.2 kB / 1.076 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.3208, allocations: 19.81 kB / 1.076 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.321, allocations: 143 kB / 1.076 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.321, allocations: 3.938 kB / 1.076 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.321, allocations: 4 kB / 1.076 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.321, allocations: 3.984 kB / 1.076 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.322, allocations: 0.7197 MB / 1.077 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.322, allocations: 0 / 1.077 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3221, allocations: 35.91 kB / 1.077 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3221, allocations: 4 kB / 1.077 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3221, allocations: 4.344 kB / 1.077 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3221, allocations: 4 kB / 1.077 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3222, allocations: 7.938 kB / 1.077 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.3225, allocations: 378.1 kB / 1.077 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.3226, allocations: 112.9 kB / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.3226, allocations: 4 kB / 1.078 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3228, allocations: 11.98 kB / 1.078 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.3229, allocations: 19.92 kB / 1.078 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.3229, allocations: 4 kB / 1.078 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001725/0.3231, allocations: 153.1 kB / 1.078 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3231, allocations: 0 / 1.078 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004862/0.3236, allocations: 72 kB / 1.078 GB, free: 436 kB / 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.0001431/0.3237, allocations: 121.6 kB / 1.078 GB, free: 308 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.3242, allocations: 268.7 kB / 1.078 GB, free: 40 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3242, allocations: 4.375 kB / 1.078 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4288/0.753, allocations: 61.89 kB / 1.078 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.7537, allocations: 34.89 kB / 1.078 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.7544, allocations: 0.4951 MB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.7546, allocations: 0.7363 MB / 1.079 GB, free: 21.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.7547, allocations: 21.03 kB / 1.079 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of SimCode: time 1.132e-06/0.7547, allocations: 0.875 kB / 1.079 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.004765/0.7595, allocations: 2.34 MB / 1.082 GB, free: 21.21 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/jenkins1/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