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.006119/0.006119, allocations: 101.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.001119/0.001119, 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 55.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.322, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006716/0.3288, allocations: 4.907 MB / 1.213 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00408/0.3329, allocations: 2.475 MB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.3334, allocations: 27.75 kB / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.3346, allocations: 408.7 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.3358, allocations: 449.6 kB / 1.216 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009616/0.3368, allocations: 399.2 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.3381, allocations: 0.9251 MB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.3387, allocations: 354.5 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.3392, allocations: 342.6 kB / 1.218 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005441/0.3398, allocations: 358.5 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.3399, allocations: 40 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007254/0.3406, allocations: 395.1 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.3408, allocations: 183.4 kB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.3412, allocations: 322.2 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.3424, allocations: 0.8953 MB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3425, allocations: 4 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3425, allocations: 0 / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.056e-05/0.3425, allocations: 0 / 1.22 GB, free: 13.21 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.001613/0.3441, allocations: 0.9463 MB / 1.221 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3442, allocations: 8.625 kB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.3455, allocations: 207.9 kB / 1.221 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.3463, allocations: 0.545 MB / 1.221 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.3463, allocations: 37.36 kB / 1.222 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.3464, allocations: 48.36 kB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3475, allocations: 0.8448 MB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.3476, allocations: 11.84 kB / 1.222 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.3476, allocations: 20 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-05/0.3477, allocations: 60.95 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.3486, allocations: 0.5734 MB / 1.223 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/0.3531, allocations: 5.635 MB / 1.229 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.3537, allocations: 454.8 kB / 1.229 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.354, allocations: 225.3 kB / 1.229 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.354, allocations: 15.95 kB / 1.229 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3541, allocations: 38.5 kB / 1.229 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 3.426e-06/0.3541, allocations: 4 kB / 1.229 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002627/0.3567, allocations: 1.509 MB / 1.231 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3568, allocations: 63.62 kB / 1.231 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.3573, allocations: 0.4912 MB / 1.231 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3574, allocations: 33.7 kB / 1.231 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.3576, allocations: 362.8 kB / 1.232 GB, free: 332 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3577, allocations: 118.4 kB / 1.232 GB, free: 212 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3579, allocations: 110.2 kB / 1.232 GB, free: 96 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3581, allocations: 366.8 kB / 1.232 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.3584, allocations: 193.2 kB / 1.232 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.3588, allocations: 447.3 kB / 1.233 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/0.3597, allocations: 0.6877 MB / 1.234 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3597, allocations: 0 / 1.234 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001286/0.361, allocations: 0.813 MB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.361, allocations: 11.98 kB / 1.234 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3611, allocations: 8 kB / 1.234 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/0.3616, allocations: 156.8 kB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.362, allocations: 123.7 kB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/0.3655, allocations: 4.34 MB / 1.239 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.3658, allocations: 35.97 kB / 1.239 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.3659, allocations: 28 kB / 1.239 GB, free: 8.211 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.000248/0.3661, allocations: 221.8 kB / 1.239 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.3662, allocations: 59.25 kB / 1.239 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009872/0.3672, allocations: 0.6011 MB / 1.24 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3672, allocations: 4 kB / 1.24 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3673, allocations: 3.984 kB / 1.24 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3673, allocations: 0 / 1.24 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.369, allocations: 1.265 MB / 1.241 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.369, allocations: 0 / 1.241 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.3693, allocations: 55.89 kB / 1.241 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003909/0.3697, allocations: 144.3 kB / 1.241 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.3697, allocations: 15.94 kB / 1.241 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.3729, allocations: 4.332 MB / 1.245 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3729, allocations: 3.938 kB / 1.245 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.3738, allocations: 0.7076 MB / 1.246 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.3741, allocations: 172.3 kB / 1.246 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.6226/0.9966, allocations: 5.078 kB / 1.246 GB, free: 37.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.997, allocations: 20.98 kB / 1.246 GB, free: 37.85 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.9971, allocations: 34.58 kB / 1.246 GB, free: 37.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.9971, allocations: 11.72 kB / 1.246 GB, free: 37.85 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003871/0.9975, allocations: 338.3 kB / 1.247 GB, free: 37.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9975, allocations: 0 / 1.247 GB, free: 37.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006903/0.9982, allocations: 143.2 kB / 1.247 GB, free: 37.76 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.0001264/0.9984, allocations: 120.7 kB / 1.247 GB, free: 37.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.9996, allocations: 1.037 MB / 1.248 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9997, allocations: 0.5 kB / 1.248 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/1, allocations: 0.7322 MB / 1.249 GB, free: 36.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/1.001, allocations: 208.8 kB / 1.249 GB, free: 36.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/1.003, allocations: 1.038 MB / 1.25 GB, free: 36.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.003, allocations: 0.9133 MB / 1.251 GB, free: 35.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002815/1.003, allocations: 122.1 kB / 1.251 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/1.003, allocations: 40.38 kB / 1.251 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/1.003, allocations: 0 / 1.251 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.01429/1.018, allocations: 7.711 MB / 1.258 GB, free: 35.07 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