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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007023/0.007023, allocations: 99.41 kB / 15.73 MB, free: 6.004 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.00167/0.00167, allocations: 191.6 kB / 16.67 MB, free: 5.93 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.614/2.614, allocations: 472.6 MB / 0.7453 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 55.91 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.768, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006362/0.7744, allocations: 4.914 MB / 1.23 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003999/0.7784, allocations: 2.483 MB / 1.233 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.779, allocations: 23.81 kB / 1.233 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.7803, allocations: 405.9 kB / 1.233 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.7818, allocations: 449.6 kB / 1.234 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.7831, allocations: 391.2 kB / 1.234 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.7848, allocations: 0.9251 MB / 1.235 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.7854, allocations: 354.5 kB / 1.235 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005714/0.786, allocations: 338.6 kB / 1.236 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005564/0.7866, allocations: 346.5 kB / 1.236 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.7867, allocations: 47.88 kB / 1.236 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.7875, allocations: 399.1 kB / 1.236 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.7877, allocations: 191.4 kB / 1.237 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.7881, allocations: 318.2 kB / 1.237 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.7893, allocations: 0.8953 MB / 1.238 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7894, allocations: 0 / 1.238 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7894, allocations: 4 kB / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.749e-05/0.7894, allocations: 0 / 1.238 GB, free: 1.082 MB / 0.9512 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.001463/0.7909, allocations: 0.9649 MB / 1.239 GB, free: 68 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.7909, allocations: 8.031 kB / 1.239 GB, free: 60 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.7922, allocations: 216.4 kB / 1.239 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.793, allocations: 0.5456 MB / 1.239 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.793, allocations: 37.36 kB / 1.239 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.7931, allocations: 40.38 kB / 1.24 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.7942, allocations: 0.8485 MB / 1.24 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.7942, allocations: 7.938 kB / 1.24 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.7943, allocations: 23.98 kB / 1.24 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.924e-05/0.7943, allocations: 64.95 kB / 1.24 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/0.7952, allocations: 0.5734 MB / 1.241 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.7992, allocations: 5.643 MB / 1.246 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.7998, allocations: 458.8 kB / 1.247 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.8001, allocations: 232.7 kB / 1.247 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.8002, allocations: 4 kB / 1.247 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.8002, allocations: 34.56 kB / 1.247 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.8002, allocations: 0 / 1.247 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002395/0.8026, allocations: 1.525 MB / 1.249 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.8027, allocations: 59.69 kB / 1.249 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.8032, allocations: 0.4991 MB / 1.249 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.8032, allocations: 33.7 kB / 1.249 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.8034, allocations: 363.8 kB / 1.25 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/0.8035, allocations: 126.9 kB / 1.25 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.8036, allocations: 110.2 kB / 1.25 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8038, allocations: 370.8 kB / 1.25 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.804, allocations: 193.2 kB / 1.25 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.8045, allocations: 447.3 kB / 1.251 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.8052, allocations: 0.6952 MB / 1.251 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8052, allocations: 0 / 1.251 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001216/0.8065, allocations: 0.8174 MB / 1.252 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8065, allocations: 8 kB / 1.252 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.8065, allocations: 8 kB / 1.252 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.807, allocations: 160.7 kB / 1.252 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.8074, allocations: 123.7 kB / 1.253 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.8108, allocations: 4.344 MB / 1.257 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.8115, allocations: 39.97 kB / 1.257 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.8116, allocations: 28 kB / 1.257 GB, free: 12.01 MB / 0.9825 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.0004376/0.812, allocations: 221.6 kB / 1.257 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.8122, allocations: 59.62 kB / 1.257 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.8135, allocations: 0.6086 MB / 1.258 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.8135, allocations: 4 kB / 1.258 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.8135, allocations: 0 / 1.258 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.8135, allocations: 0 / 1.258 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.8158, allocations: 1.261 MB / 1.259 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8158, allocations: 3.938 kB / 1.259 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.8161, allocations: 55.95 kB / 1.259 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.8165, allocations: 148.3 kB / 1.259 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.8166, allocations: 11.94 kB / 1.259 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004117/0.8207, allocations: 4.329 MB / 1.263 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8208, allocations: 4 kB / 1.263 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.8219, allocations: 0.7121 MB / 1.264 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.8221, allocations: 172.6 kB / 1.264 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-05/0.8222, allocations: 11.98 kB / 1.264 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.8225, allocations: 23.97 kB / 1.264 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.8226, allocations: 31.91 kB / 1.264 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.8226, allocations: 8 kB / 1.264 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003964/0.823, allocations: 338.8 kB / 1.265 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.823, allocations: 0 / 1.265 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007078/0.8238, allocations: 148 kB / 1.265 GB, free: 3.242 MB / 0.9825 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.0001749/0.8239, allocations: 115.2 kB / 1.265 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.8254, allocations: 1.045 MB / 1.266 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8254, allocations: 8.125 kB / 1.266 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.8262, allocations: 0.7301 MB / 1.267 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.8272, allocations: 208.8 kB / 1.267 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.8288, allocations: 1.061 MB / 1.268 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.8293, allocations: 0.9135 MB / 1.269 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003442/0.8297, allocations: 117.3 kB / 1.269 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.8298, allocations: 39.44 kB / 1.269 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.8298, allocations: 0 / 1.269 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.01382/0.8436, allocations: 7.708 MB / 1.276 GB, free: 7.152 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