Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001449/0.001449, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.14 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.27/2.27, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004746/1.024, allocations: 2.812 MB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003551/1.028, allocations: 2.09 MB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/1.028, allocations: 3.594 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009172/1.029, allocations: 230.2 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006347/1.03, allocations: 219 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008779/1.031, allocations: 278.2 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004183/1.031, allocations: 317.3 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/1.031, allocations: 153.1 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/1.032, allocations: 128.3 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/1.032, allocations: 152.7 kB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/1.032, allocations: 23.25 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008935/1.033, allocations: 419.3 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/1.033, allocations: 98.52 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/1.033, allocations: 112.3 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008323/1.034, allocations: 490.5 kB / 1.096 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.034, allocations: 0.75 kB / 1.096 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/1.034, allocations: 0 / 1.096 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.194e-05/1.034, allocations: 1.062 kB / 1.096 GB, free: 1.086 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009745/1.035, allocations: 0.5599 MB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.035, allocations: 8.844 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.036, allocations: 130 kB / 1.097 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.037, allocations: 262.2 kB / 1.097 GB, free: 352 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.037, allocations: 17.23 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/1.037, allocations: 24.88 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/1.037, allocations: 395.4 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.037, allocations: 4.438 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/1.037, allocations: 18.7 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/1.037, allocations: 25.27 kB / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/1.038, allocations: 368.2 kB / 1.098 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/1.041, allocations: 1.74 MB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/1.041, allocations: 348.7 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/1.042, allocations: 188.7 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.042, allocations: 91.39 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.042, allocations: 37.38 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/1.042, allocations: 0 / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.00907/1.051, allocations: 2.055 MB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/1.051, allocations: 81.8 kB / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/1.051, allocations: 179.8 kB / 1.102 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/1.051, allocations: 35.05 kB / 1.102 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/1.052, allocations: 147.1 kB / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/1.052, allocations: 123.2 kB / 1.103 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/1.052, allocations: 76.91 kB / 1.103 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.052, allocations: 331.1 kB / 1.103 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/1.053, allocations: 267.4 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/1.053, allocations: 349.6 kB / 1.104 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.055, allocations: 0.622 MB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.055, allocations: 5.188 kB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001426/1.056, allocations: 0.6601 MB / 1.105 GB, free: 12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.056, allocations: 6.766 kB / 1.105 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.056, allocations: 6.844 kB / 1.105 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.056, allocations: 3.188 kB / 1.105 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/1.057, allocations: 157.2 kB / 1.105 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.057, allocations: 9.656 kB / 1.105 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/1.058, allocations: 51.55 kB / 1.105 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/1.058, allocations: 18.38 kB / 1.105 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007461/1.058, allocations: 367.7 kB / 1.105 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006562/1.059, allocations: 337.7 kB / 1.106 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001205/1.06, allocations: 0.5921 MB / 1.106 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/1.06, allocations: 3.938 kB / 1.106 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001444/1.062, allocations: 0.6366 MB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.062, allocations: 9.719 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.062, allocations: 2.562 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/1.062, allocations: 3.812 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/1.063, allocations: 152.9 kB / 1.107 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.063, allocations: 8.406 kB / 1.107 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/1.063, allocations: 58.92 kB / 1.107 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/1.063, allocations: 14.36 kB / 1.107 GB, free: 11.05 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0002329/1.063, allocations: 208.3 kB / 1.107 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/1.064, allocations: 22.31 kB / 1.107 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.065, allocations: 0.6864 MB / 1.108 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.065, allocations: 5.156 kB / 1.108 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.065, allocations: 0 / 1.108 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.065, allocations: 3.141 kB / 1.108 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/1.068, allocations: 1.362 MB / 1.109 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.068, allocations: 2.969 kB / 1.109 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/1.068, allocations: 124.2 kB / 1.109 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.068, allocations: 7.625 kB / 1.109 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/1.068, allocations: 9.875 kB / 1.109 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/1.068, allocations: 7.297 kB / 1.109 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.068, allocations: 6.438 kB / 1.109 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/1.07, allocations: 0.7119 MB / 1.11 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/1.07, allocations: 143.3 kB / 1.11 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/1.07, allocations: 9.422 kB / 1.11 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/1.07, allocations: 44.28 kB / 1.11 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/1.07, allocations: 33.14 kB / 1.11 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/1.07, allocations: 17.56 kB / 1.11 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002054/1.071, allocations: 152.6 kB / 1.111 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.071, allocations: 0 / 1.111 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000813/1.072, allocations: 147.5 kB / 1.111 GB, free: 8.969 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.000252/1.072, allocations: 138 kB / 1.111 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00209/1.074, allocations: 0.8757 MB / 1.112 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.074, allocations: 0 / 1.112 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005062/1.074, allocations: 257.1 kB / 1.112 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/1.075, allocations: 45.25 kB / 1.112 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/1.077, allocations: 0.7409 MB / 1.113 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/1.077, allocations: 0.7831 MB / 1.113 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/1.077, allocations: 36.97 kB / 1.114 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/1.077, allocations: 0 / 1.114 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of Templates: time 0.01071/1.088, allocations: 4.961 MB / 1.118 GB, free: 6.914 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches