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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002296/0.002295, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.542/1.542, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8613/0.8627, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006158/0.8689, allocations: 4.93 MB / 0.9537 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.8735, allocations: 2.494 MB / 0.9562 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.874, allocations: 23.53 kB / 0.9562 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.8752, allocations: 360.4 kB / 0.9565 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.8764, allocations: 420.8 kB / 0.9569 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.8773, allocations: 365.9 kB / 0.9573 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.8784, allocations: 1.131 MB / 0.9584 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006444/0.8791, allocations: 347.3 kB / 0.9587 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.8795, allocations: 305.2 kB / 0.959 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.88, allocations: 359.7 kB / 0.9594 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.8801, allocations: 25.41 kB / 0.9594 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.8811, allocations: 496.9 kB / 0.9599 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.8813, allocations: 174.9 kB / 0.96 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.8817, allocations: 307.6 kB / 0.9603 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.8828, allocations: 0.8951 MB / 0.9612 GB, free: 112 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.8828, allocations: 1.094 kB / 0.9612 GB, free: 112 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8828, allocations: 0 / 0.9612 GB, free: 112 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.8828, allocations: 0 / 0.9612 GB, free: 112 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.001597/0.8844, allocations: 0.9481 MB / 0.9621 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8845, allocations: 9.969 kB / 0.9621 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.8857, allocations: 204.6 kB / 0.9623 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.8865, allocations: 0.4936 MB / 0.9628 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.8865, allocations: 39.52 kB / 0.9628 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.8867, allocations: 49.34 kB / 0.9629 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.8879, allocations: 0.8514 MB / 0.9637 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.8879, allocations: 11.23 kB / 0.9637 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.888, allocations: 24.64 kB / 0.9638 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.8881, allocations: 62.42 kB / 0.9638 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/0.8891, allocations: 0.5709 MB / 0.9644 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.8944, allocations: 5.653 MB / 0.9699 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.8952, allocations: 463.6 kB / 0.9703 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.8955, allocations: 223.4 kB / 0.9705 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.8956, allocations: 7.062 kB / 0.9706 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.8956, allocations: 40.52 kB / 0.9706 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/0.8956, allocations: 1.125 kB / 0.9706 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002833/0.8984, allocations: 1.502 MB / 0.9721 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.8986, allocations: 58.47 kB / 0.9721 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/0.8992, allocations: 0.5029 MB / 0.9726 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.8993, allocations: 31.11 kB / 0.9726 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.8997, allocations: 367.9 kB / 0.973 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.8998, allocations: 114 kB / 0.9731 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.8999, allocations: 111.2 kB / 0.9732 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.9001, allocations: 364.1 kB / 0.9736 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.9004, allocations: 197.4 kB / 0.9737 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.901, allocations: 445 kB / 0.9742 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.9019, allocations: 0.693 MB / 0.9748 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.9019, allocations: 7.25 kB / 0.9748 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001483/0.9034, allocations: 0.8116 MB / 0.9756 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.9034, allocations: 8.844 kB / 0.9756 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.9034, allocations: 8.938 kB / 0.9757 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/0.904, allocations: 158.2 kB / 0.9758 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.9044, allocations: 126.3 kB / 0.9759 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/0.9082, allocations: 4.03 MB / 0.9799 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.9087, allocations: 32.5 kB / 0.9799 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.9088, allocations: 28.25 kB / 0.9799 GB, free: 15.71 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.0003448/0.9091, allocations: 213.5 kB / 0.9801 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.9093, allocations: 65.91 kB / 0.9802 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.9104, allocations: 0.6026 MB / 0.9808 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.9104, allocations: 3.5 kB / 0.9808 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9104, allocations: 2.719 kB / 0.9808 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.9104, allocations: 7.922 kB / 0.9808 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.9125, allocations: 1.263 MB / 0.982 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9125, allocations: 2.656 kB / 0.982 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.9128, allocations: 57.56 kB / 0.9821 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.9133, allocations: 144.5 kB / 0.9822 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.9133, allocations: 8.562 kB / 0.9822 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.9168, allocations: 4.025 MB / 0.9862 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9168, allocations: 1.25 kB / 0.9862 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.9179, allocations: 0.7066 MB / 0.9868 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.9182, allocations: 168.3 kB / 0.987 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.9182, allocations: 11.94 kB / 0.987 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.9185, allocations: 27.91 kB / 0.987 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.9186, allocations: 35.89 kB / 0.9871 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.9186, allocations: 8 kB / 0.9871 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004041/0.919, allocations: 338.8 kB / 0.9874 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.919, allocations: 0 / 0.9874 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007237/0.9197, allocations: 140 kB / 0.9875 GB, free: 8.484 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.0001964/0.9199, allocations: 116.6 kB / 0.9877 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.9216, allocations: 1.029 MB / 0.9887 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9216, allocations: 0.875 kB / 0.9887 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.9225, allocations: 0.7383 MB / 0.9894 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009525/0.9234, allocations: 186 kB / 0.9896 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.9252, allocations: 1.281 MB / 0.9908 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.9257, allocations: 0.9098 MB / 0.9917 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.9261, allocations: 113.3 kB / 0.9918 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.9262, allocations: 43.44 kB / 0.9918 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/0.9262, allocations: 3.938 kB / 0.9919 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of Templates: time 0.01533/0.9415, allocations: 7.353 MB / 0.999 GB, free: 12.56 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/jenkins/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