Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0007348/0.0007348, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001792, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006816/0.0006816, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000985/0.001667, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9272/0.9272, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08344/1.011, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.811/1.811, allocations: 378.3 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5011/2.312, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.359e-05, allocations: 2.969 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01071/0.01073, allocations: 9.404 MB / 0.7388 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005546/0.01628, allocations: 2.991 MB / 0.7417 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005651/0.01684, allocations: 91.31 kB / 0.7418 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.01751, allocations: 359.2 kB / 0.7422 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008812/0.01839, allocations: 0.8019 MB / 0.743 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.01923, allocations: 0.6373 MB / 0.7436 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.02198, allocations: 4.194 MB / 0.7477 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.02426, allocations: 2.541 MB / 0.7502 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.0265, allocations: 2.555 MB / 0.7527 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.02809, allocations: 2.034 MB / 0.7546 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.02838, allocations: 339.4 kB / 0.755 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.02902, allocations: 471.6 kB / 0.7554 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007984/0.02982, allocations: 1.368 MB / 0.7568 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.03049, allocations: 0.858 MB / 0.7576 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.03216, allocations: 2.567 MB / 0.7601 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.03218, allocations: 0 / 0.7601 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.513e-06/0.03218, allocations: 0 / 0.7601 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.825e-05/0.03221, allocations: 0 / 0.7601 GB, free: 5.168 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.002495/0.03471, allocations: 3.003 MB / 0.763 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.03474, allocations: 8.031 kB / 0.763 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.03656, allocations: 0.9028 MB / 0.7639 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.03769, allocations: 1.174 MB / 0.7651 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.023e-05/0.03778, allocations: 177.2 kB / 0.7652 GB, free: 15.83 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.03802, allocations: 232.4 kB / 0.7655 GB, free: 15.61 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.03997, allocations: 2.123 MB / 0.7675 GB, free: 13.32 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.04, allocations: 8.984 kB / 0.7675 GB, free: 13.31 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.04017, allocations: 100.4 kB / 0.7676 GB, free: 13.21 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.04028, allocations: 165.7 kB / 0.7678 GB, free: 13.05 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.04125, allocations: 0.6719 MB / 0.7684 GB, free: 12.36 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006004/0.04725, allocations: 8.247 MB / 0.7765 GB, free: 3.801 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/0.04818, allocations: 0.701 MB / 0.7772 GB, free: 3.07 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.04837, allocations: 164.5 kB / 0.7773 GB, free: 2.902 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.04843, allocations: 28.58 kB / 0.7774 GB, free: 2.875 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.04846, allocations: 47.16 kB / 0.7774 GB, free: 2.82 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=72): time 1.993e-06/0.04846, allocations: 0 / 0.7774 GB, free: 2.82 MB / 0.7449 GB Notification: Performance of matching and sorting (n=76): time 0.001305/0.04976, allocations: 0.9595 MB / 0.7784 GB, free: 1.844 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.0498, allocations: 111.5 kB / 0.7785 GB, free: 1.711 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.05027, allocations: 0.7583 MB / 0.7792 GB, free: 0.9297 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.0503, allocations: 33.7 kB / 0.7792 GB, free: 0.8906 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.05066, allocations: 1.065 MB / 0.7803 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.05078, allocations: 282.3 kB / 0.7805 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.05099, allocations: 259.3 kB / 0.7808 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.0511, allocations: 419.3 kB / 0.7812 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.05126, allocations: 127.9 kB / 0.7813 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.05167, allocations: 0.6974 MB / 0.782 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.05244, allocations: 1.049 MB / 0.783 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.05245, allocations: 4 kB / 0.783 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0008903/0.05334, allocations: 0.904 MB / 0.7839 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.05336, allocations: 16 kB / 0.7839 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.05337, allocations: 16.91 kB / 0.7839 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.05356, allocations: 103.5 kB / 0.784 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.05416, allocations: 344.3 kB / 0.7844 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.05418, allocations: 39.86 kB / 0.7844 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.05453, allocations: 66.75 kB / 0.7845 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.05459, allocations: 56.08 kB / 0.7845 GB, free: 10.92 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.05485, allocations: 205.9 kB / 0.7847 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.05496, allocations: 99.83 kB / 0.7848 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.05553, allocations: 0.5083 MB / 0.7853 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.05554, allocations: 9.312 kB / 0.7853 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.05554, allocations: 0 / 0.7853 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.05555, allocations: 3.984 kB / 0.7853 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.05718, allocations: 1.772 MB / 0.787 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.05719, allocations: 5.594 kB / 0.7871 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.05748, allocations: 139.8 kB / 0.7872 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.05765, allocations: 140 kB / 0.7873 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001379/0.05779, allocations: 83.25 kB / 0.7874 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.05781, allocations: 25 kB / 0.7874 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.05782, allocations: 11.92 kB / 0.7874 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.05782, allocations: 4 kB / 0.7874 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.05838, allocations: 0.8774 MB / 0.7883 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/0.05846, allocations: 23.94 kB / 0.7883 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.05868, allocations: 15.98 kB / 0.7883 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.05876, allocations: 60.55 kB / 0.7884 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.05878, allocations: 12 kB / 0.7884 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000243/0.05902, allocations: 345.3 kB / 0.7887 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.05902, allocations: 1.375 kB / 0.7887 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006751/0.0597, allocations: 407.9 kB / 0.7891 GB, free: 6.008 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.05985, allocations: 113.5 kB / 0.7892 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006205/0.06047, allocations: 0.624 MB / 0.7898 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.309e-05/0.0605, allocations: 24.44 kB / 0.7899 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.06079, allocations: 290.2 kB / 0.7901 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.06208, allocations: 2.278 MB / 0.7924 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.07351, allocations: 3.554 MB / 0.7958 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.0739, allocations: 0.5672 MB / 0.7964 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003677/0.07427, allocations: 171.6 kB / 0.7966 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.07464, allocations: 273.2 kB / 0.7968 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/0.07464, allocations: 0 / 0.7968 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.0168/0.09144, allocations: 13.34 MB / 0.8098 GB, free: 0.5703 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.113246281631291]