Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001471/0.001471, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001474/0.001474, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 65.5 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3678, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007969/0.3758, allocations: 4.901 MB / 0.9559 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004729/0.3806, allocations: 2.479 MB / 0.9583 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.3811, allocations: 23.81 kB / 0.9583 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.3825, allocations: 405.9 kB / 0.9587 GB, free: 236 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3837, allocations: 445.8 kB / 0.9592 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3848, allocations: 398.6 kB / 0.9595 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.3858, allocations: 0.9251 MB / 0.9604 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006228/0.3864, allocations: 366.4 kB / 0.9608 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.3868, allocations: 342.6 kB / 0.9611 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.3873, allocations: 346.4 kB / 0.9615 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.3874, allocations: 40 kB / 0.9615 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.3881, allocations: 399.1 kB / 0.9619 GB, free: 13 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.3883, allocations: 183.4 kB / 0.962 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.3886, allocations: 326.2 kB / 0.9624 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.3896, allocations: 0.8874 MB / 0.9632 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3896, allocations: 3.938 kB / 0.9632 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3896, allocations: 0 / 0.9632 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.3896, allocations: 0 / 0.9632 GB, free: 11.61 MB / 0.7481 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.001505/0.3911, allocations: 0.9473 MB / 0.9642 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3912, allocations: 12.03 kB / 0.9642 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3924, allocations: 203.8 kB / 0.9644 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.3933, allocations: 0.549 MB / 0.9649 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.3934, allocations: 37.36 kB / 0.9649 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.3935, allocations: 40.38 kB / 0.965 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.3946, allocations: 0.8448 MB / 0.9658 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.3947, allocations: 7.938 kB / 0.9658 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.3947, allocations: 23.98 kB / 0.9658 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.3949, allocations: 64.95 kB / 0.9659 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.396, allocations: 0.5734 MB / 0.9664 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/0.4008, allocations: 5.646 MB / 0.972 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.4015, allocations: 454.8 kB / 0.9724 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.4018, allocations: 228.7 kB / 0.9726 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.4019, allocations: 4 kB / 0.9726 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4019, allocations: 38.56 kB / 0.9727 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.4019, allocations: 0 / 0.9727 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.00262/0.4045, allocations: 1.508 MB / 0.9741 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4046, allocations: 55.69 kB / 0.9742 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.4051, allocations: 0.5067 MB / 0.9747 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.4052, allocations: 33.7 kB / 0.9747 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.4054, allocations: 358.8 kB / 0.975 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/0.4055, allocations: 118.4 kB / 0.9752 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.4057, allocations: 118.2 kB / 0.9753 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4059, allocations: 366.8 kB / 0.9756 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.4062, allocations: 193.2 kB / 0.9758 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.4067, allocations: 451.3 kB / 0.9762 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.4075, allocations: 0.6835 MB / 0.9769 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4075, allocations: 4 kB / 0.9769 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001345/0.4089, allocations: 0.8134 MB / 0.9777 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4089, allocations: 15.94 kB / 0.9777 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.4089, allocations: 8 kB / 0.9777 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.4095, allocations: 156.4 kB / 0.9779 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.4099, allocations: 123.8 kB / 0.978 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.4134, allocations: 4.34 MB / 0.9822 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.4138, allocations: 35.97 kB / 0.9823 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.4139, allocations: 28 kB / 0.9823 GB, free: 6.582 MB / 0.7637 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.0003087/0.4142, allocations: 219.5 kB / 0.9825 GB, free: 6.359 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/0.4143, allocations: 63.25 kB / 0.9826 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4153, allocations: 0.5931 MB / 0.9831 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4153, allocations: 4 kB / 0.9831 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4153, allocations: 4 kB / 0.9831 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4154, allocations: 4 kB / 0.9832 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.4173, allocations: 1.261 MB / 0.9844 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4173, allocations: 0 / 0.9844 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.4176, allocations: 55.95 kB / 0.9844 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.4179, allocations: 144.1 kB / 0.9846 GB, free: 4.102 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.418, allocations: 16.09 kB / 0.9846 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.4213, allocations: 4.324 MB / 0.9888 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4213, allocations: 3.938 kB / 0.9888 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.4224, allocations: 0.712 MB / 0.9895 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.4227, allocations: 164.3 kB / 0.9897 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.4227, allocations: 11.98 kB / 0.9897 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.423, allocations: 27.97 kB / 0.9897 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.4231, allocations: 31.91 kB / 0.9897 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.4231, allocations: 8 kB / 0.9897 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004509/0.4236, allocations: 338.8 kB / 0.9901 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4236, allocations: 4 kB / 0.9901 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008006/0.4244, allocations: 140 kB / 0.9902 GB, free: 13.85 MB / 0.7794 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.0002188/0.4246, allocations: 121.1 kB / 0.9903 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.4263, allocations: 1.032 MB / 0.9913 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4263, allocations: 4.938 kB / 0.9913 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.4272, allocations: 0.7421 MB / 0.9921 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.4281, allocations: 205.5 kB / 0.9923 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.43, allocations: 1.043 MB / 0.9933 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.4306, allocations: 0.9098 MB / 0.9942 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003126/0.4309, allocations: 117.3 kB / 0.9943 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.431, allocations: 39.44 kB / 0.9943 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.431, allocations: 0 / 0.9943 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.01487/0.4459, allocations: 7.613 MB / 1.002 GB, free: 1.875 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches