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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008148/0.008148, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001966/0.001966, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.301, allocations: 157.4 MB / 1.208 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006672/0.3077, allocations: 4.896 MB / 1.213 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.3116, allocations: 2.487 MB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.3119, allocations: 27.81 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.313, allocations: 403.9 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.3139, allocations: 449.6 kB / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.3147, allocations: 393 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000872/0.3156, allocations: 0.929 MB / 1.217 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.3161, allocations: 358.5 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.3165, allocations: 342.6 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.317, allocations: 350.5 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.317, allocations: 40 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.3176, allocations: 403.1 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3178, allocations: 183.4 kB / 1.219 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.3181, allocations: 318.2 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.3189, allocations: 0.8914 MB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.319, allocations: 0 / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.319, allocations: 0 / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.319, allocations: 0 / 1.22 GB, free: 13.27 MB / 0.9825 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.001407/0.3204, allocations: 0.9502 MB / 1.221 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3204, allocations: 12.56 kB / 1.221 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.3217, allocations: 199.9 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008663/0.3225, allocations: 0.5529 MB / 1.222 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3226, allocations: 33.36 kB / 1.222 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.3226, allocations: 44.38 kB / 1.222 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3237, allocations: 0.8409 MB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.3237, allocations: 11.84 kB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.3237, allocations: 27.92 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.041e-05/0.3238, allocations: 68.95 kB / 1.223 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.3247, allocations: 0.5656 MB / 1.223 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.3289, allocations: 5.643 MB / 1.229 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.3296, allocations: 458.7 kB / 1.229 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.3298, allocations: 233.3 kB / 1.229 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3299, allocations: 7.984 kB / 1.229 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3299, allocations: 30.56 kB / 1.229 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.3299, allocations: 0 / 1.229 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002402/0.3323, allocations: 1.512 MB / 1.231 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3324, allocations: 59.62 kB / 1.231 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.3329, allocations: 0.5068 MB / 1.231 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3329, allocations: 29.7 kB / 1.231 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3331, allocations: 362.8 kB / 1.232 GB, free: 372 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/0.3332, allocations: 118.4 kB / 1.232 GB, free: 252 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.3334, allocations: 110.2 kB / 1.232 GB, free: 136 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3335, allocations: 366.8 kB / 1.232 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3338, allocations: 193.2 kB / 1.232 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.3342, allocations: 451.3 kB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007416/0.335, allocations: 0.6876 MB / 1.234 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.335, allocations: 4 kB / 1.234 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001166/0.3361, allocations: 0.8093 MB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3362, allocations: 8 kB / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3362, allocations: 8 kB / 1.234 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.3367, allocations: 160.4 kB / 1.234 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.3371, allocations: 119.8 kB / 1.235 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.3402, allocations: 4.34 MB / 1.239 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.3407, allocations: 31.97 kB / 1.239 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.3407, allocations: 28 kB / 1.239 GB, free: 8.254 MB / 0.9981 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.0002651/0.341, allocations: 219.7 kB / 1.239 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.3411, allocations: 67.23 kB / 1.239 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.3421, allocations: 0.5933 MB / 1.24 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3421, allocations: 4 kB / 1.24 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3421, allocations: 8 kB / 1.24 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.3421, allocations: 0 / 1.24 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.3439, allocations: 1.261 MB / 1.241 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3439, allocations: 7.938 kB / 1.241 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3441, allocations: 51.95 kB / 1.241 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003895/0.3445, allocations: 140.3 kB / 1.241 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3446, allocations: 15.94 kB / 1.241 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.3476, allocations: 4.344 MB / 1.245 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3476, allocations: 7.969 kB / 1.245 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.3486, allocations: 0.7076 MB / 1.246 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.3488, allocations: 168.3 kB / 1.246 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.3489, allocations: 11.94 kB / 1.246 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.3491, allocations: 23.97 kB / 1.246 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.5991/0.9482, allocations: 32.62 kB / 1.246 GB, free: 38.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.9483, allocations: 8.156 kB / 1.246 GB, free: 38.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004563/0.9487, allocations: 342.2 kB / 1.247 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9488, allocations: 0 / 1.247 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008765/0.9496, allocations: 142.4 kB / 1.247 GB, free: 37.93 MB / 0.9981 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.0001338/0.9498, allocations: 117 kB / 1.247 GB, free: 37.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.9514, allocations: 1.031 MB / 1.248 GB, free: 37.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.9515, allocations: 0.9688 kB / 1.248 GB, free: 37.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.9523, allocations: 0.7365 MB / 1.249 GB, free: 36.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.9535, allocations: 194.5 kB / 1.249 GB, free: 36.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.9553, allocations: 1.048 MB / 1.25 GB, free: 36.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.9556, allocations: 0.9169 MB / 1.251 GB, free: 35.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.956, allocations: 120.1 kB / 1.251 GB, free: 35.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.9561, allocations: 39.88 kB / 1.251 GB, free: 35.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.9561, allocations: 0 / 1.251 GB, free: 35.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.01536/0.9714, allocations: 7.847 MB / 1.259 GB, free: 35.21 MB / 0.9981 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 -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/jenkins/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