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.001688/0.001688, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001784/0.001784, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.178/2.178, allocations: 390.3 MB / 0.6653 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.67 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2882, allocations: 140.4 MB / 0.9503 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007309/0.2955, allocations: 4.896 MB / 0.9551 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004696/0.3003, allocations: 2.487 MB / 0.9575 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.3009, allocations: 27.81 kB / 0.9575 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.3024, allocations: 401.9 kB / 0.9579 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.3037, allocations: 445.6 kB / 0.9583 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.3048, allocations: 398.9 kB / 0.9587 GB, free: 268 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.3061, allocations: 0.9251 MB / 0.9596 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.3068, allocations: 354.5 kB / 0.9599 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000596/0.3074, allocations: 338.7 kB / 0.9603 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.3081, allocations: 346.5 kB / 0.9606 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.3082, allocations: 40 kB / 0.9606 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/0.309, allocations: 403.1 kB / 0.961 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.3093, allocations: 183.4 kB / 0.9612 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.3097, allocations: 310.3 kB / 0.9615 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.3111, allocations: 0.8879 MB / 0.9624 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3111, allocations: 3.938 kB / 0.9624 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3111, allocations: 0 / 0.9624 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.279e-05/0.3111, allocations: 0 / 0.9624 GB, free: 12.5 MB / 0.7481 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.001697/0.3128, allocations: 0.9424 MB / 0.9633 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3129, allocations: 11.97 kB / 0.9633 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.3142, allocations: 207.8 kB / 0.9635 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.315, allocations: 0.4943 MB / 0.964 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.315, allocations: 37.36 kB / 0.964 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.3151, allocations: 44.36 kB / 0.9641 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3161, allocations: 0.8485 MB / 0.9649 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.3161, allocations: 7.938 kB / 0.9649 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.3162, allocations: 20 kB / 0.9649 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/0.3163, allocations: 68.95 kB / 0.965 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008438/0.3171, allocations: 0.5733 MB / 0.9655 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.3214, allocations: 5.654 MB / 0.9711 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.322, allocations: 450.3 kB / 0.9715 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.3223, allocations: 228.7 kB / 0.9717 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.3224, allocations: 4 kB / 0.9717 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3224, allocations: 38.5 kB / 0.9717 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 3.015e-06/0.3224, allocations: 7.984 kB / 0.9718 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002532/0.325, allocations: 1.504 MB / 0.9732 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.325, allocations: 63.56 kB / 0.9733 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.3256, allocations: 0.5029 MB / 0.9738 GB, free: 32 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.3256, allocations: 29.78 kB / 0.9738 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.3259, allocations: 354.8 kB / 0.9741 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.326, allocations: 118.3 kB / 0.9743 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.3262, allocations: 118.2 kB / 0.9744 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3263, allocations: 370.8 kB / 0.9747 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.3266, allocations: 193.2 kB / 0.9749 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.327, allocations: 447.3 kB / 0.9753 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/0.3279, allocations: 0.6838 MB / 0.976 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3279, allocations: 8 kB / 0.976 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001302/0.3292, allocations: 0.8095 MB / 0.9768 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3293, allocations: 8 kB / 0.9768 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3293, allocations: 12.09 kB / 0.9768 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.3298, allocations: 156.1 kB / 0.977 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.3302, allocations: 123.7 kB / 0.9771 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.3337, allocations: 4.344 MB / 0.9813 GB, free: 7.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.3341, allocations: 31.97 kB / 0.9814 GB, free: 7.551 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.3341, allocations: 32 kB / 0.9814 GB, free: 7.52 MB / 0.7637 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.0002712/0.3344, allocations: 219.5 kB / 0.9816 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3345, allocations: 63.25 kB / 0.9817 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.3355, allocations: 0.597 MB / 0.9822 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3356, allocations: 4 kB / 0.9822 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3356, allocations: 0 / 0.9822 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3356, allocations: 0 / 0.9822 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.3373, allocations: 1.261 MB / 0.9835 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3373, allocations: 224 / 0.9835 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.3376, allocations: 63.89 kB / 0.9835 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/0.338, allocations: 140.1 kB / 0.9837 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.338, allocations: 15.94 kB / 0.9837 GB, free: 5.023 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/0.3413, allocations: 4.332 MB / 0.9879 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3413, allocations: 0 / 0.9879 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.3423, allocations: 0.7159 MB / 0.9886 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.3425, allocations: 164.3 kB / 0.9888 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.3426, allocations: 15.92 kB / 0.9888 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3428, allocations: 27.97 kB / 0.9888 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.3429, allocations: 31.84 kB / 0.9888 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3429, allocations: 12 kB / 0.9889 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003539/0.3433, allocations: 338.8 kB / 0.9892 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.3433, allocations: 0 / 0.9892 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006369/0.344, allocations: 144 kB / 0.9893 GB, free: 14.77 MB / 0.7794 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.0001352/0.3441, allocations: 119.1 kB / 0.9894 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.3456, allocations: 1.068 MB / 0.9905 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3456, allocations: 0 / 0.9905 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.3464, allocations: 0.742 MB / 0.9912 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009917/0.3474, allocations: 208.3 kB / 0.9914 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3491, allocations: 1.102 MB / 0.9925 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.3496, allocations: 0.9098 MB / 0.9934 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3497, allocations: 43.44 kB / 0.9934 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.3497, allocations: 0 / 0.9934 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.02041/0.3701, allocations: 18.32 MB / 1.011 GB, free: 8.047 MB / 0.795 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