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.001813/0.001814, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00254/0.00254, allocations: 192.6 kB / 16.25 MB, free: 6.594 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.453/2.453, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8036, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00547/0.8091, allocations: 4.93 MB / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003635/0.8127, allocations: 2.471 MB / 0.9563 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.8131, allocations: 23.53 kB / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.8142, allocations: 375.4 kB / 0.9567 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009282/0.8151, allocations: 404.8 kB / 0.9571 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.816, allocations: 362.3 kB / 0.9574 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008971/0.8169, allocations: 0.9274 MB / 0.9583 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005662/0.8174, allocations: 395.6 kB / 0.9587 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.8179, allocations: 339.2 kB / 0.959 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.8184, allocations: 367 kB / 0.9594 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.893e-05/0.8185, allocations: 38.72 kB / 0.9594 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.8193, allocations: 407.5 kB / 0.9598 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.8195, allocations: 180 kB / 0.96 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.8198, allocations: 323.3 kB / 0.9603 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.8208, allocations: 0.9099 MB / 0.9612 GB, free: 256 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.8208, allocations: 0.875 kB / 0.9612 GB, free: 256 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8209, allocations: 0 / 0.9612 GB, free: 256 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.8209, allocations: 0 / 0.9612 GB, free: 256 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.00149/0.8224, allocations: 0.9485 MB / 0.9621 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.8224, allocations: 9 kB / 0.9621 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.8238, allocations: 209 kB / 0.9623 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.8245, allocations: 0.4942 MB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.8246, allocations: 35.7 kB / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.8247, allocations: 56.84 kB / 0.9629 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.826, allocations: 0.8512 MB / 0.9637 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.826, allocations: 7.219 kB / 0.9637 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.8261, allocations: 19.91 kB / 0.9637 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.8262, allocations: 70.55 kB / 0.9638 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.8271, allocations: 0.5635 MB / 0.9644 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/0.832, allocations: 5.65 MB / 0.9699 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.8327, allocations: 462.9 kB / 0.9703 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.8331, allocations: 223 kB / 0.9705 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.8331, allocations: 7.938 kB / 0.9705 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.8331, allocations: 31.88 kB / 0.9706 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 3.476e-06/0.8332, allocations: 5.328 kB / 0.9706 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002785/0.8359, allocations: 1.506 MB / 0.9721 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.836, allocations: 54.72 kB / 0.9721 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.8366, allocations: 0.5069 MB / 0.9726 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.8366, allocations: 29.7 kB / 0.9726 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.8369, allocations: 355.7 kB / 0.973 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.837, allocations: 123.2 kB / 0.9731 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.8371, allocations: 111.2 kB / 0.9732 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8373, allocations: 364.2 kB / 0.9735 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.8376, allocations: 197.5 kB / 0.9737 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.8381, allocations: 446.1 kB / 0.9741 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/0.8389, allocations: 0.6958 MB / 0.9748 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.8389, allocations: 7 kB / 0.9748 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001357/0.8403, allocations: 0.8043 MB / 0.9756 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.8403, allocations: 11.7 kB / 0.9756 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.8403, allocations: 9.438 kB / 0.9756 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.8409, allocations: 158.3 kB / 0.9758 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.8413, allocations: 122.2 kB / 0.9759 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.8448, allocations: 4.344 MB / 0.9802 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.8453, allocations: 38.34 kB / 0.9802 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.8454, allocations: 26.28 kB / 0.9802 GB, free: 15.55 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.0003224/0.8457, allocations: 219 kB / 0.9804 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.8458, allocations: 64.69 kB / 0.9805 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.8469, allocations: 0.5997 MB / 0.9811 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.8469, allocations: 3.812 kB / 0.9811 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8469, allocations: 1.312 kB / 0.9811 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8469, allocations: 3.984 kB / 0.9811 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.8489, allocations: 1.26 MB / 0.9823 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.8489, allocations: 6.609 kB / 0.9823 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.8492, allocations: 54.67 kB / 0.9824 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.8496, allocations: 140.5 kB / 0.9825 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.8497, allocations: 11.72 kB / 0.9825 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003544/0.8532, allocations: 4.331 MB / 0.9867 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8532, allocations: 4.031 kB / 0.9867 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.8544, allocations: 0.7168 MB / 0.9874 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.8546, allocations: 168.3 kB / 0.9876 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.8547, allocations: 8 kB / 0.9876 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.8549, allocations: 19.97 kB / 0.9876 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.855, allocations: 39.84 kB / 0.9877 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.855, allocations: 15.98 kB / 0.9877 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003483/0.8554, allocations: 338.8 kB / 0.988 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8554, allocations: 3.938 kB / 0.988 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007353/0.8561, allocations: 140 kB / 0.9881 GB, free: 7.941 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.0001844/0.8563, allocations: 111.2 kB / 0.9883 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.8578, allocations: 1.072 MB / 0.9893 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8578, allocations: 0 / 0.9893 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008281/0.8587, allocations: 0.7348 MB / 0.99 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/0.8597, allocations: 208.4 kB / 0.9902 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.8614, allocations: 1.284 MB / 0.9915 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.8619, allocations: 0.9098 MB / 0.9924 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003286/0.8622, allocations: 117.3 kB / 0.9925 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.8624, allocations: 39.44 kB / 0.9925 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.8624, allocations: 3.938 kB / 0.9925 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of Templates: time 0.01353/0.8759, allocations: 7.667 MB / 1 GB, free: 11.65 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