Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") 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: 114.6 kB / 16.37 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.001329/0.001329, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.468/2.468, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.92 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.366, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006344/0.3724, allocations: 4.917 MB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004286/0.3767, allocations: 2.483 MB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.3772, allocations: 27.81 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.3784, allocations: 401.9 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.3796, allocations: 445.7 kB / 1.035 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.3805, allocations: 398.4 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3816, allocations: 0.9251 MB / 1.036 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005592/0.3822, allocations: 354.4 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.3826, allocations: 338.6 kB / 1.037 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.383, allocations: 346.5 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.3831, allocations: 43.98 kB / 1.037 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006603/0.3838, allocations: 407.1 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.384, allocations: 175.4 kB / 1.038 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.3843, allocations: 326.2 kB / 1.038 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009034/0.3852, allocations: 0.8876 MB / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3852, allocations: 0 / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3852, allocations: 0 / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3852, allocations: 0 / 1.039 GB, free: 5.613 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001427/0.3867, allocations: 0.9502 MB / 1.04 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3867, allocations: 8.031 kB / 1.04 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.3879, allocations: 203.8 kB / 1.04 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.3888, allocations: 0.5529 MB / 1.041 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.3889, allocations: 33.36 kB / 1.041 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.389, allocations: 44.38 kB / 1.041 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.3901, allocations: 0.8487 MB / 1.041 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.3901, allocations: 3.938 kB / 1.041 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.3902, allocations: 23.98 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.914e-05/0.3902, allocations: 68.95 kB / 1.042 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.3911, allocations: 0.5656 MB / 1.042 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.3953, allocations: 5.654 MB / 1.048 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.396, allocations: 454.2 kB / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.3963, allocations: 232.7 kB / 1.048 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3963, allocations: 4.531 kB / 1.048 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3963, allocations: 30.56 kB / 1.048 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.3964, allocations: 0 / 1.048 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002395/0.3988, allocations: 1.514 MB / 1.05 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.3988, allocations: 55.69 kB / 1.05 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.3993, allocations: 0.4991 MB / 1.05 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3993, allocations: 33.7 kB / 1.05 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.3996, allocations: 366.8 kB / 1.051 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.3997, allocations: 118.3 kB / 1.051 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3998, allocations: 114.2 kB / 1.051 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4, allocations: 366.8 kB / 1.051 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.4002, allocations: 197.2 kB / 1.051 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.4006, allocations: 443.3 kB / 1.052 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.4014, allocations: 0.6915 MB / 1.053 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4014, allocations: 4 kB / 1.053 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001166/0.4026, allocations: 0.8094 MB / 1.053 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4026, allocations: 11.44 kB / 1.053 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4026, allocations: 8 kB / 1.053 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.4031, allocations: 160.3 kB / 1.053 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.4035, allocations: 123.8 kB / 1.054 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.4066, allocations: 4.344 MB / 1.058 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.407, allocations: 31.97 kB / 1.058 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.407, allocations: 35.88 kB / 1.058 GB, free: 0.5703 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.4073, allocations: 225.5 kB / 1.058 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.4074, allocations: 63.25 kB / 1.058 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.4084, allocations: 0.5931 MB / 1.059 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4084, allocations: 0 / 1.059 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4084, allocations: 4 kB / 1.059 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4084, allocations: 7.984 kB / 1.059 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.4102, allocations: 1.263 MB / 1.06 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4102, allocations: 4 kB / 1.06 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.4105, allocations: 47.95 kB / 1.06 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/0.4108, allocations: 144.1 kB / 1.06 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.4109, allocations: 11.94 kB / 1.06 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.4141, allocations: 4.333 MB / 1.064 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4141, allocations: 4.031 kB / 1.064 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.4151, allocations: 0.7078 MB / 1.065 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.4153, allocations: 168.3 kB / 1.065 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.4154, allocations: 11.98 kB / 1.065 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.4157, allocations: 23.97 kB / 1.065 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.4157, allocations: 31.91 kB / 1.065 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.4158, allocations: 12 kB / 1.065 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000353/0.4161, allocations: 338.8 kB / 1.066 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4161, allocations: 0 / 1.066 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006457/0.4168, allocations: 140 kB / 1.066 GB, free: 7.836 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.4169, allocations: 119.1 kB / 1.066 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.4183, allocations: 1.037 MB / 1.067 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4183, allocations: 4 kB / 1.067 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.4192, allocations: 0.739 MB / 1.068 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.4201, allocations: 207.6 kB / 1.068 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.4217, allocations: 1.039 MB / 1.069 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.4222, allocations: 0.9098 MB / 1.07 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002916/0.4225, allocations: 117.3 kB / 1.07 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.4226, allocations: 43.38 kB / 1.07 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of SimCode: time 8.01e-07/0.4226, allocations: 3.938 kB / 1.07 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of Templates: time 0.4922/0.9149, allocations: 7.602 MB / 1.077 GB, free: 52.13 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches