Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008186/0.0008186, allocations: 99.19 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009405/0.0009407, allocations: 180.7 kB / 16.92 MB, free: 6.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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004894, allocations: 16 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6916, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005482/0.6971, allocations: 4.519 MB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00448/0.7016, allocations: 2.468 MB / 1.031 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/0.7023, allocations: 23.75 kB / 1.031 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.7027, allocations: 83.22 kB / 1.031 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.7042, allocations: 414 kB / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.7052, allocations: 367.3 kB / 1.031 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.7066, allocations: 1.136 MB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.7075, allocations: 468.2 kB / 1.033 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006116/0.7081, allocations: 290.6 kB / 1.033 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.7087, allocations: 330.5 kB / 1.034 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.7088, allocations: 20 kB / 1.034 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009339/0.7098, allocations: 0.4911 MB / 1.034 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.71, allocations: 159.4 kB / 1.034 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.7104, allocations: 327.9 kB / 1.034 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.7112, allocations: 0.6526 MB / 1.035 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7113, allocations: 4 kB / 1.035 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7113, allocations: 4 kB / 1.035 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.797e-05/0.7113, allocations: 0 / 1.035 GB, free: 4.074 MB / 0.7794 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.00144/0.7128, allocations: 0.8373 MB / 1.036 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7128, allocations: 11.98 kB / 1.036 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.7142, allocations: 207.9 kB / 1.036 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.7149, allocations: 0.4904 MB / 1.037 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.7149, allocations: 33.38 kB / 1.037 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-05/0.715, allocations: 44.36 kB / 1.037 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.7162, allocations: 0.8448 MB / 1.038 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.7162, allocations: 11.84 kB / 1.038 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.7163, allocations: 23.98 kB / 1.038 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-05/0.7164, allocations: 68.94 kB / 1.038 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.7173, allocations: 0.5695 MB / 1.038 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.7218, allocations: 5.662 MB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.7225, allocations: 469 kB / 1.044 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.7228, allocations: 225.3 kB / 1.044 GB, free: 9.973 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.7228, allocations: 7.984 kB / 1.044 GB, free: 9.965 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.7229, allocations: 34.56 kB / 1.044 GB, free: 9.922 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.7229, allocations: 3.938 kB / 1.044 GB, free: 9.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002574/0.7254, allocations: 1.511 MB / 1.046 GB, free: 8.289 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.7255, allocations: 55.69 kB / 1.046 GB, free: 8.223 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.726, allocations: 0.5029 MB / 1.046 GB, free: 7.707 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.7261, allocations: 29.7 kB / 1.046 GB, free: 7.672 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.7263, allocations: 358.8 kB / 1.047 GB, free: 7.316 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.7264, allocations: 118.3 kB / 1.047 GB, free: 7.199 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.7265, allocations: 49.7 kB / 1.047 GB, free: 7.145 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7267, allocations: 366.8 kB / 1.047 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.727, allocations: 193.2 kB / 1.048 GB, free: 6.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.7274, allocations: 447.3 kB / 1.048 GB, free: 6.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.7282, allocations: 0.6954 MB / 1.049 GB, free: 5.223 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.7282, allocations: 4 kB / 1.049 GB, free: 5.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001282/0.7295, allocations: 0.8051 MB / 1.049 GB, free: 4.391 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.7295, allocations: 12 kB / 1.049 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.7296, allocations: 8 kB / 1.049 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.7301, allocations: 160.7 kB / 1.05 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.7305, allocations: 123.8 kB / 1.05 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.7337, allocations: 4.04 MB / 1.054 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.7341, allocations: 31.97 kB / 1.054 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.7342, allocations: 32 kB / 1.054 GB, free: 15.58 MB / 0.8106 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.0002913/0.7345, allocations: 213.7 kB / 1.054 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.7346, allocations: 63.25 kB / 1.054 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.7356, allocations: 0.593 MB / 1.055 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.7356, allocations: 7.984 kB / 1.055 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.7356, allocations: 3.938 kB / 1.055 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.7356, allocations: 7.922 kB / 1.055 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.7374, allocations: 1.257 MB / 1.056 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7374, allocations: 3.984 kB / 1.056 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.7377, allocations: 56.11 kB / 1.056 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003977/0.7381, allocations: 144.1 kB / 1.056 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.7381, allocations: 8 kB / 1.056 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002953/0.7411, allocations: 4.032 MB / 1.06 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7411, allocations: 0 / 1.06 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.7421, allocations: 0.7082 MB / 1.061 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.7424, allocations: 172.3 kB / 1.061 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.7424, allocations: 11.94 kB / 1.061 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.7427, allocations: 23.97 kB / 1.061 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.7428, allocations: 31.89 kB / 1.061 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.7428, allocations: 12 kB / 1.061 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003742/0.7432, allocations: 338.8 kB / 1.061 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7432, allocations: 0 / 1.061 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006541/0.7439, allocations: 143.9 kB / 1.061 GB, free: 7.164 MB / 0.8106 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.0001461/0.744, allocations: 111.2 kB / 1.061 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.7455, allocations: 1.033 MB / 1.062 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7455, allocations: 4.125 kB / 1.062 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008108/0.7463, allocations: 0.7386 MB / 1.063 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7475, allocations: 194 kB / 1.063 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.7493, allocations: 1.334 MB / 1.065 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.7498, allocations: 0.9098 MB / 1.066 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.75, allocations: 39.44 kB / 1.066 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.75, allocations: 4 kB / 1.066 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of Templates: time 0.02203/0.772, allocations: 18.23 MB / 1.083 GB, free: 356 kB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches