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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007331/0.00733, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.0016/0.0016, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.8125 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7606, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005263/0.766, allocations: 4.917 MB / 0.9544 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.7693, allocations: 2.5 MB / 0.9568 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.7696, allocations: 23.41 kB / 0.9569 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.7706, allocations: 367.7 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.7715, allocations: 421 kB / 0.9576 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.7722, allocations: 361.2 kB / 0.9579 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.7733, allocations: 1.139 MB / 0.9591 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007534/0.774, allocations: 346.4 kB / 0.9594 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.7746, allocations: 305.9 kB / 0.9597 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.7751, allocations: 347.3 kB / 0.96 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.7752, allocations: 26.03 kB / 0.96 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.7763, allocations: 0.4964 MB / 0.9605 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.7765, allocations: 175.8 kB / 0.9607 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.7769, allocations: 298.2 kB / 0.961 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008298/0.7777, allocations: 0.6679 MB / 0.9616 GB, free: 216 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7777, allocations: 0 / 0.9616 GB, free: 216 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7777, allocations: 0 / 0.9616 GB, free: 216 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.7777, allocations: 0 / 0.9616 GB, free: 216 kB / 0.7169 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.001682/0.7794, allocations: 0.9561 MB / 0.9626 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.7795, allocations: 9.688 kB / 0.9626 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.7809, allocations: 209.2 kB / 0.9628 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008722/0.7818, allocations: 0.49 MB / 0.9632 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.7818, allocations: 31.38 kB / 0.9633 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.512e-05/0.7819, allocations: 55.94 kB / 0.9633 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.7831, allocations: 0.8527 MB / 0.9642 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.7831, allocations: 6.938 kB / 0.9642 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.7832, allocations: 28.02 kB / 0.9642 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.7833, allocations: 66.77 kB / 0.9643 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.7842, allocations: 0.5631 MB / 0.9648 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.7892, allocations: 5.657 MB / 0.9703 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.79, allocations: 455.5 kB / 0.9708 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.7903, allocations: 227 kB / 0.971 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.7904, allocations: 7.25 kB / 0.971 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.7904, allocations: 32.78 kB / 0.971 GB, free: 8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.7904, allocations: 0 / 0.971 GB, free: 8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002734/0.7931, allocations: 1.51 MB / 0.9725 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.7932, allocations: 55.5 kB / 0.9726 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.7938, allocations: 0.5062 MB / 0.973 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.7938, allocations: 31.2 kB / 0.9731 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.794, allocations: 359.1 kB / 0.9734 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.7941, allocations: 114.9 kB / 0.9735 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.7943, allocations: 112.2 kB / 0.9736 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7945, allocations: 367.3 kB / 0.974 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.7948, allocations: 194.9 kB / 0.9742 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.7952, allocations: 443.7 kB / 0.9746 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008434/0.7961, allocations: 0.6968 MB / 0.9753 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7961, allocations: 3.375 kB / 0.9753 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001361/0.7975, allocations: 0.8076 MB / 0.9761 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.7975, allocations: 11.56 kB / 0.9761 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.7975, allocations: 16.58 kB / 0.9761 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.7981, allocations: 157.2 kB / 0.9762 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.7985, allocations: 126 kB / 0.9764 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.8022, allocations: 4.026 MB / 0.9803 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.8027, allocations: 33.59 kB / 0.9803 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.8028, allocations: 30.92 kB / 0.9804 GB, free: 15.82 MB / 0.7481 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.0003601/0.8032, allocations: 219.5 kB / 0.9806 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.8033, allocations: 61.22 kB / 0.9806 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.8045, allocations: 0.5995 MB / 0.9812 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8046, allocations: 7.156 kB / 0.9812 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.8046, allocations: 5.688 kB / 0.9812 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8046, allocations: 7.922 kB / 0.9812 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.8067, allocations: 1.26 MB / 0.9825 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8067, allocations: 2.219 kB / 0.9825 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.807, allocations: 54.86 kB / 0.9825 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.8075, allocations: 148.6 kB / 0.9827 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.8075, allocations: 6.875 kB / 0.9827 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003113/0.8106, allocations: 4.022 MB / 0.9866 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8106, allocations: 10.48 kB / 0.9866 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.8117, allocations: 0.7103 MB / 0.9873 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.8119, allocations: 168.3 kB / 0.9875 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.812, allocations: 11.94 kB / 0.9875 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.8122, allocations: 19.97 kB / 0.9875 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.8123, allocations: 39.89 kB / 0.9875 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.8123, allocations: 12 kB / 0.9875 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003566/0.8127, allocations: 338.8 kB / 0.9879 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8127, allocations: 0 / 0.9879 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006743/0.8134, allocations: 136 kB / 0.988 GB, free: 8.66 MB / 0.7481 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.0001741/0.8136, allocations: 122.1 kB / 0.9881 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.8149, allocations: 1.029 MB / 0.9891 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.815, allocations: 0 / 0.9891 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/0.8158, allocations: 0.7388 MB / 0.9898 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009495/0.8167, allocations: 188.2 kB / 0.99 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.8185, allocations: 1.312 MB / 0.9913 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.819, allocations: 0.9059 MB / 0.9922 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.8191, allocations: 47.44 kB / 0.9922 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.8191, allocations: 0 / 0.9922 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of Templates: time 0.0199/0.839, allocations: 18.3 MB / 1.01 GB, free: 1.801 MB / 0.7637 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/jenkins1/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