Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8835/0.8835, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.666e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004429/0.004456, allocations: 4.619 MB / 0.9867 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.007409, allocations: 2.416 MB / 0.989 GB, free: 11.03 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.007647, allocations: 43.62 kB / 0.9891 GB, free: 10.99 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.008441, allocations: 403.8 kB / 0.9895 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006304/0.009071, allocations: 493.1 kB / 0.9899 GB, free: 10.11 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.009606, allocations: 397.9 kB / 0.9903 GB, free: 9.723 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006601/0.01027, allocations: 0.9602 MB / 0.9913 GB, free: 8.758 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.01064, allocations: 322.4 kB / 0.9916 GB, free: 8.438 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.0111, allocations: 498.6 kB / 0.992 GB, free: 7.949 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.0114, allocations: 303.1 kB / 0.9923 GB, free: 7.652 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.01145, allocations: 40 kB / 0.9924 GB, free: 7.613 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.01181, allocations: 366.9 kB / 0.9927 GB, free: 7.254 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.01197, allocations: 195.3 kB / 0.9929 GB, free: 7.062 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.01212, allocations: 215.4 kB / 0.9931 GB, free: 6.852 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.01288, allocations: 0.8994 MB / 0.994 GB, free: 5.949 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01288, allocations: 0 / 0.994 GB, free: 5.949 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01288, allocations: 4 kB / 0.994 GB, free: 5.945 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.01289, allocations: 3.938 kB / 0.994 GB, free: 5.941 MB / 0.948 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.001172/0.01406, allocations: 0.8779 MB / 0.9949 GB, free: 5.031 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.01411, allocations: 12.03 kB / 0.9949 GB, free: 5.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006746/0.01478, allocations: 212.2 kB / 0.9951 GB, free: 4.812 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.01534, allocations: 0.4922 MB / 0.9956 GB, free: 4.297 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.01536, allocations: 33.36 kB / 0.9956 GB, free: 4.266 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.01542, allocations: 52.34 kB / 0.9956 GB, free: 4.215 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/0.01617, allocations: 0.9666 MB / 0.9966 GB, free: 3.082 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.01619, allocations: 8.125 kB / 0.9966 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.01623, allocations: 20.38 kB / 0.9966 GB, free: 3.055 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.748e-05/0.0163, allocations: 72.89 kB / 0.9967 GB, free: 2.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.01684, allocations: 0.5656 MB / 0.9972 GB, free: 2.418 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.01971, allocations: 4.615 MB / 1.002 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.02017, allocations: 426.2 kB / 1.002 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.02037, allocations: 204.7 kB / 1.002 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.0204, allocations: 4 kB / 1.002 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.02042, allocations: 38.56 kB / 1.002 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 2.725e-06/0.02042, allocations: 0 / 1.002 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001574/0.022, allocations: 1.129 MB / 1.003 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.02204, allocations: 59.69 kB / 1.004 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.02236, allocations: 478.7 kB / 1.004 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.02238, allocations: 33.7 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.02255, allocations: 364.2 kB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.02261, allocations: 126.9 kB / 1.004 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.02271, allocations: 114.2 kB / 1.005 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.02282, allocations: 366.7 kB / 1.005 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.02301, allocations: 201.2 kB / 1.005 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.02332, allocations: 451 kB / 1.006 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.0239, allocations: 0.6882 MB / 1.006 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.0239, allocations: 4 kB / 1.006 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000839/0.02474, allocations: 0.8021 MB / 1.007 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.02477, allocations: 11.28 kB / 1.007 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.02478, allocations: 8 kB / 1.007 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.0251, allocations: 152.2 kB / 1.007 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.02535, allocations: 127.7 kB / 1.007 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.02761, allocations: 3.966 MB / 1.011 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.02779, allocations: 40.03 kB / 1.011 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.02782, allocations: 28 kB / 1.011 GB, free: 3.195 MB / 0.9636 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.0001745/0.02799, allocations: 205.6 kB / 1.011 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.02804, allocations: 59.62 kB / 1.012 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006195/0.02866, allocations: 0.5966 MB / 1.012 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.02866, allocations: 4 kB / 1.012 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.02867, allocations: 11.94 kB / 1.012 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02867, allocations: 0 / 1.012 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.02971, allocations: 1.12 MB / 1.013 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.02972, allocations: 4 kB / 1.013 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.02984, allocations: 55.89 kB / 1.013 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.03007, allocations: 144.4 kB / 1.013 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.03008, allocations: 8 kB / 1.013 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.03204, allocations: 3.95 MB / 1.017 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.03204, allocations: 4 kB / 1.017 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.03265, allocations: 0.7001 MB / 1.018 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.03276, allocations: 87.83 kB / 1.018 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.03279, allocations: 16 kB / 1.018 GB, free: 11.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.03291, allocations: 19.97 kB / 1.018 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.03297, allocations: 35.83 kB / 1.018 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.03298, allocations: 12 kB / 1.018 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002139/0.0332, allocations: 306.9 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.0332, allocations: 0 / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004259/0.03362, allocations: 144 kB / 1.019 GB, free: 11.25 MB / 0.9792 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.0001815/0.0338, allocations: 121.1 kB / 1.019 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000921/0.03472, allocations: 0.8585 MB / 1.019 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.03473, allocations: 0 / 1.019 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.03516, allocations: 0.5723 MB / 1.02 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.03581, allocations: 189.7 kB / 1.02 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.03706, allocations: 1.095 MB / 1.021 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.03726, allocations: 307.9 kB / 1.022 GB, free: 7.949 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.03734, allocations: 44.5 kB / 1.022 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of SimCode: time 7.32e-07/0.03734, allocations: 0 / 1.022 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of Templates: time 0.013/0.05035, allocations: 18.41 MB / 1.04 GB, free: 5.535 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.577770478092134]