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.00669/0.00669, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001737/0.001737, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.516/2.516, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 58.97 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3836, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.01063/0.3943, allocations: 4.902 MB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006802/0.4012, allocations: 2.483 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008116/0.402, allocations: 23.81 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.4036, allocations: 405.9 kB / 1.096 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.4054, allocations: 445.6 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.4067, allocations: 405 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.4082, allocations: 0.9212 MB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007742/0.4089, allocations: 362.5 kB / 1.098 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006969/0.4096, allocations: 342.6 kB / 1.098 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.4105, allocations: 346.5 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.4106, allocations: 36 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000978/0.4116, allocations: 403.1 kB / 1.099 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.4119, allocations: 183.4 kB / 1.099 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004804/0.4124, allocations: 326.2 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.4138, allocations: 0.8838 MB / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4139, allocations: 3.984 kB / 1.1 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4139, allocations: 0 / 1.1 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.4139, allocations: 3.938 kB / 1.1 GB, free: 5.047 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.001834/0.4158, allocations: 0.9502 MB / 1.101 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4158, allocations: 8.031 kB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.4172, allocations: 199.8 kB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.418, allocations: 0.549 MB / 1.102 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.418, allocations: 33.36 kB / 1.102 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.4181, allocations: 60.34 kB / 1.102 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.4192, allocations: 0.8409 MB / 1.103 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.4193, allocations: 7.938 kB / 1.103 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.4193, allocations: 20 kB / 1.103 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-05/0.4194, allocations: 64.95 kB / 1.103 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.4202, allocations: 0.5656 MB / 1.103 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.4248, allocations: 5.654 MB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.4255, allocations: 452.2 kB / 1.109 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.4258, allocations: 228.7 kB / 1.109 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4258, allocations: 4 kB / 1.109 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4258, allocations: 39.09 kB / 1.109 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 3.427e-06/0.4258, allocations: 0 / 1.109 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002527/0.4284, allocations: 1.515 MB / 1.111 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4284, allocations: 55.69 kB / 1.111 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.4289, allocations: 0.4913 MB / 1.111 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.429, allocations: 29.7 kB / 1.111 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.4292, allocations: 366.8 kB / 1.112 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.396e-05/0.4293, allocations: 122.3 kB / 1.112 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.4294, allocations: 118.1 kB / 1.112 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4296, allocations: 362.8 kB / 1.112 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.4299, allocations: 193.2 kB / 1.113 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.4304, allocations: 451 kB / 1.113 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/0.4312, allocations: 0.6915 MB / 1.114 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4312, allocations: 4 kB / 1.114 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001148/0.4324, allocations: 0.8056 MB / 1.114 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4324, allocations: 8.156 kB / 1.115 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4324, allocations: 12 kB / 1.115 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/0.4329, allocations: 152.1 kB / 1.115 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.4334, allocations: 127.7 kB / 1.115 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.4371, allocations: 4.348 MB / 1.119 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.4374, allocations: 31.97 kB / 1.119 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.4375, allocations: 28 kB / 1.119 GB, free: 32 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.0003164/0.4378, allocations: 209.6 kB / 1.119 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.4379, allocations: 67.31 kB / 1.119 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.4389, allocations: 0.593 MB / 1.12 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4389, allocations: 4 kB / 1.12 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.439, allocations: 7.938 kB / 1.12 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.439, allocations: 3.984 kB / 1.12 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4407, allocations: 1.257 MB / 1.121 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4407, allocations: 4 kB / 1.121 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.441, allocations: 51.89 kB / 1.121 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003686/0.4414, allocations: 148.4 kB / 1.121 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.4414, allocations: 11.94 kB / 1.121 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/0.4447, allocations: 4.336 MB / 1.126 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4447, allocations: 7.969 kB / 1.126 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.4458, allocations: 0.712 MB / 1.126 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.4461, allocations: 172.3 kB / 1.126 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.4462, allocations: 8 kB / 1.126 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.4465, allocations: 19.97 kB / 1.127 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.4466, allocations: 39.84 kB / 1.127 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4467, allocations: 8 kB / 1.127 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004634/0.4471, allocations: 342.8 kB / 1.127 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4472, allocations: 0 / 1.127 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009183/0.4481, 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.0002592/0.4483, allocations: 115.1 kB / 1.127 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.4504, allocations: 1.033 MB / 1.128 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4504, allocations: 0 / 1.128 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.4513, allocations: 0.7424 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.0009658/0.4522, allocations: 208 kB / 1.129 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.4539, allocations: 1.036 MB / 1.13 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.4544, allocations: 0.9137 MB / 1.131 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.4547, allocations: 117.3 kB / 1.131 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.4548, allocations: 39.44 kB / 1.131 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.4548, allocations: 4 kB / 1.131 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of Templates: time 0.01354/0.4684, allocations: 7.705 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