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.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.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.006119/0.006119, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.001309/0.001309, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.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.613/2.613, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.17 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3754, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008225/0.3836, allocations: 4.896 MB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004532/0.3882, allocations: 2.479 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003936/0.3886, allocations: 31.75 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.3899, allocations: 405.9 kB / 1.096 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3909, allocations: 461.7 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008812/0.3918, allocations: 404.6 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009379/0.3928, allocations: 0.9329 MB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.3933, allocations: 358.5 kB / 1.098 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.3937, allocations: 346.6 kB / 1.098 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.3941, allocations: 350.5 kB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.3942, allocations: 40 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.3949, allocations: 399.1 kB / 1.099 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3951, allocations: 179.4 kB / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.3954, allocations: 326.2 kB / 1.099 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.3964, allocations: 0.8915 MB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3964, allocations: 0 / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3964, allocations: 0 / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3964, allocations: 0 / 1.1 GB, free: 5.039 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00142/0.3978, allocations: 0.9482 MB / 1.101 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3979, allocations: 12.03 kB / 1.101 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3991, allocations: 199.8 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.3999, allocations: 0.549 MB / 1.102 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.3999, allocations: 37.36 kB / 1.102 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.4, allocations: 44.36 kB / 1.102 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.4011, allocations: 0.8448 MB / 1.103 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.4011, allocations: 7.938 kB / 1.103 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.4012, allocations: 27.98 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.847e-05/0.4013, allocations: 64.95 kB / 1.103 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.4021, allocations: 0.5695 MB / 1.103 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.4065, allocations: 5.643 MB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.4072, allocations: 464.2 kB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.4075, allocations: 228.7 kB / 1.109 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.4075, allocations: 4 kB / 1.109 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4075, allocations: 35.09 kB / 1.109 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.943e-06/0.4075, allocations: 3.938 kB / 1.109 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002407/0.41, allocations: 1.511 MB / 1.111 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.41, allocations: 55.69 kB / 1.111 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.4105, allocations: 0.5029 MB / 1.112 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4106, allocations: 29.7 kB / 1.112 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.4108, allocations: 358.8 kB / 1.112 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/0.4109, allocations: 122.3 kB / 1.112 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.4111, allocations: 114.2 kB / 1.112 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4113, allocations: 362.8 kB / 1.112 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.4115, allocations: 197.2 kB / 1.113 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.412, allocations: 443 kB / 1.113 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.4128, allocations: 0.6994 MB / 1.114 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4128, allocations: 0 / 1.114 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001196/0.414, allocations: 0.8053 MB / 1.115 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4141, allocations: 11.98 kB / 1.115 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4141, allocations: 8 kB / 1.115 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.4146, allocations: 160.6 kB / 1.115 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.415, allocations: 123.8 kB / 1.115 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.4182, allocations: 4.344 MB / 1.119 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.4186, allocations: 31.97 kB / 1.119 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.4186, allocations: 28 kB / 1.119 GB, free: 24 kB / 0.8731 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.0002682/0.4189, allocations: 217.6 kB / 1.119 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.419, allocations: 63.25 kB / 1.119 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009679/0.42, allocations: 0.5892 MB / 1.12 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.42, allocations: 8 kB / 1.12 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.42, allocations: 0 / 1.12 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.42, allocations: 7.922 kB / 1.12 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.4217, allocations: 1.261 MB / 1.121 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4217, allocations: 3.984 kB / 1.121 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.4219, allocations: 55.95 kB / 1.121 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.4224, allocations: 144.3 kB / 1.121 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.4224, allocations: 11.94 kB / 1.121 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/0.4256, allocations: 4.332 MB / 1.126 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4256, allocations: 3.984 kB / 1.126 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.4267, allocations: 0.712 MB / 1.126 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.4269, allocations: 168.3 kB / 1.127 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.4269, allocations: 12 kB / 1.127 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.4272, allocations: 23.97 kB / 1.127 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.4272, allocations: 27.91 kB / 1.127 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4273, allocations: 15.98 kB / 1.127 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000381/0.4277, allocations: 338.8 kB / 1.127 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4277, allocations: 0 / 1.127 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006262/0.4283, allocations: 140 kB / 1.127 GB, free: 7.281 MB / 0.8887 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.0001669/0.4285, allocations: 119.1 kB / 1.127 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.4299, allocations: 1.029 MB / 1.128 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.4299, allocations: 3.938 kB / 1.128 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008182/0.4308, allocations: 0.7381 MB / 1.129 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/0.4317, allocations: 211.7 kB / 1.129 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.4333, allocations: 1.037 MB / 1.13 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.4339, allocations: 0.9137 MB / 1.131 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000302/0.4342, allocations: 125.3 kB / 1.131 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.4343, allocations: 39.44 kB / 1.131 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of SimCode: time 9.82e-07/0.4343, allocations: 0 / 1.131 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of Templates: time 0.01469/0.449, allocations: 7.7 MB / 1.139 GB, free: 11.21 MB / 0.9044 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 -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/jenkins/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